Search Substring return method in c# 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