PDA

View Full Version : [FMX] IndexOf case sensitive



andr.in
June 30th, 2003, 06:08 AM
Is there a way to make IndexOf not case sensitive?
Or is there some other action for that!

Dravos
June 30th, 2003, 06:12 AM
Could you not just do a lower case on the String then do the indexOf?

andr.in
June 30th, 2003, 09:39 AM
umm.... now why the heck didn't I think of that?

lostinbeta
June 30th, 2003, 12:19 PM
myString = "TEXT IS CRAZY!";
trace(myString.toLowerCase());


Theres an example, you could also use toUpperCase() :)