public static bool HasString(string src, string item) { return src?.IndexOf(item ?? "", StringComparison.OrdinalIgnoreCase) >= 0; }
272200cookie-checkC# safe case insensitive contains string
public static bool HasString(string src, string item) { return src?.IndexOf(item ?? "", StringComparison.OrdinalIgnoreCase) >= 0; }