Parsing strings in Java for Unity

Hey Guys,

I need to make a simple function that will parse the name off a game object. Does Unity support string parsing? I can’t seem to find anything about it in the docs.

Thanks,
Rexx

–Eric

Thanks, but I’m looking for java.

Unity does not support any java.

It has a javascript alike language.
For that one, above link is valid too, because you work with .NET for anything thats not directly unity class which are recognizable through the fact that they are in the script reference (string, int, float etc are all .NET classes)

you won’t find an example for your language, but you will find the documentation of the function and converting from C# to UnityScript is normally trivial (its var bla : type instead of type bla and you don’t have ‘a’, you would have to use “a”[0])

You mean Javascript, but the language doesn’t matter since all string functions from .NET/Mono work the same in all languages.

–Eric