Exemplo n.º 1
0
 public static bool KContains(this string s, string keyword, SpecialIndexOfFinder indexOf)
 {
     return(indexOf(s, keyword) != -1);
 }
Exemplo n.º 2
0
 public static int KIndexOf(this string s, string keyword, SpecialIndexOfFinder indexOf)
 {
     return(indexOf(s, keyword));
 }
Exemplo n.º 3
0
 public static bool KEquals(this string s, string keyword, SpecialIndexOfFinder indexOf)
 {
     return((s.Length == keyword.Length) && (indexOf(s, keyword) == 0));
 }