public static bool KContains(this string s, string keyword, IStringSpecialComparator comparator) { return(comparator.IndexOf(s, keyword) != -1); }
public static int KIndexOf(this string s, string keyword, IStringSpecialComparator comparator) { return(comparator.IndexOf(s, keyword)); }
public static bool KEquals(this string s, string keyword, IStringSpecialComparator comparator) { return((s.Length == keyword.Length) && (comparator.IndexOf(s, keyword) == 0)); }