substring to find string asp.net code example
Example: c# find substring in string
string fullName = "John Doe";
bool nameInFullName = fullName.Contains("John");
// nameInFullName is true
string fullName = "John Doe";
bool nameInFullName = fullName.Contains("John");
// nameInFullName is true