Author Topic: A chatbot  (Read 2625 times)

read pls
If you want case-sensitivity, just use strpos.
I was going off of what he said
Quote from: Dump
   /*!  Find needle in hay, starting offset bytes in. */
   virtual int strpos(string hay, string needle, int offset=0) {}
Because the dump says stripos is the case sensitive one
Quote from: Dump
   /*!  Find needle in hay, starting offset bytes in. (Case insensitive) */
   virtual int stripos(string hay, string needle, int offset=0) {}

Because the dump says stripos is the case sensitive one
What? No it doesn't?
The very thing you quoted says insensitive right there

  /*!  Find needle in hay, starting offset bytes in. (Case insensitive) */
   virtual int stripos(string hay, string needle, int offset=0) {}

read pls
« Last Edit: August 12, 2014, 05:57:00 PM by Headcrab Zombie »

stuff I read it wrong, sorry.

I love it when people like this learn TorqueScript. They actually take your advice and they learn quickly.