check data in string condition true / false
string set = "be long test string format by check values in string"; int index1 = set.IndexOf("format"); if (index1 >= 0) { true; }