Example #1
0
 public static int BMsearch(string pat, string txt)
 {
     BoyerMoore bm = new BoyerMoore(pat);
     return bm.search(txt);
 }
Example #2
0
        public static int BMsearch(string pat, string txt)
        {
            BoyerMoore bm = new BoyerMoore(pat);

            return(bm.search(txt));
        }