UPDATE: Solved
Short version: you can use most (all?) .net string methods that Mono and .net support. Docs are here:
To use string.Split(), it requires a bit of weird syntax, as described in this post:
http://forum.unity3d.com/viewtopic.php?t=5414
Thanks for the help.
ORIGINAL:
I’ve been trying to figure out how to manipulate strings (break them up, find individual chars within, etc). I have zero luck finding in the Scripting Reference.
However on the Unify Wiki I found a reference to IndexOf() in JS. I tried it, and it worked. I’m also seeing Substring().
Still, these don’t have entries in the Scripting Reference. (they show up in some of the code examples for other methods in the reference, but that doesn’t really count)
So my question is:
where do you go to find this documentation?
Is it fully documented anywhere? What else am I missing? Are there full string manipulation methods in Unity’s JavaScript?