String Parsing Question

Anyone know how I can find out of one string contains another in Unity Javascript?

Something like the made-up command “contains” here:

if (“bigstring” contains “string”) { Debug.Log(“This will print.”); }

This might look familiar. :wink:

–Eric

String.IndexOf()

Who is this person calling himself “marty” who asked this very same question a year ago, only to make me look like a fool now for asking it?

Who?!?

Thanks, Eric5h5 :wink:

I think legal action is warranted.

-Jeremy

At the very least.