[FMX] IndexOf case sensitive

Is there a way to make IndexOf not case sensitive?
Or is there some other action for that!

Could you not just do a lower case on the String then do the indexOf?

umm… now why the heck didn’t I think of that?

[AS]myString = “TEXT IS CRAZY!”;
trace(myString.toLowerCase());[/AS]

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