//int i = mystr.IndexOf(mystr, "1"); //=============> int i = Array.IndexOf(mystr, "1");
mystr.indexOf("1")