find string inside string 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