Catel.StringExtensions.ContainsIgnoreCase C# (CSharp) Метод

ContainsIgnoreCase() публичный статический Метод

Determines whether the specified string contains the value to check.
public static ContainsIgnoreCase ( this str, string valueToCheck ) : bool
str this The string.
valueToCheck string The value to check.
Результат bool
        public static bool ContainsIgnoreCase(this string str, string valueToCheck)
        {
            var index = IndexOfIgnoreCase(str, valueToCheck);
            return index >= 0;
        }