check for letter in string unity code example
Example: find a letter in string unity
private var TestString = "as3klkfjslgtke5tkt";
function CheckCode ()
{
if (TestString.Contains("3k"))
{
Debug.Log("Code Correct");
//do whatever you need to do for 3k
}
}