I'm trying to get a count of the number of instances of a char in a string.
Is there any way to get this to work in Unity's JS?
asked Feb 16 '11 at 03:29 PM
You'd call IndexOf in a loop. Something like (untested):
answered Feb 16 '11 at 09:18 PM