public static bool Contains(this string input, string value, StringComparison comparisonType) { if (string.IsNullOrEmpty(input) == false) return input.IndexOf(value, comparisonType) != -1; return false; }