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
}
}