Contains
a case-insensitive version of String.Contains()
Source
public static bool Contains(this string source, string toCheck, StringComparison comp) {
return source.IndexOf(toCheck, comp) >= 0;
}
Example
string title = "STRING";
bool contains = title.Contains("string", StringComparison.OrdinalIgnoreCase);