Esempio n. 1
0
 private static int GetIndexAfterFoundWord4(string text, string searchWord, ITextSearch textSearch)
 {
     int[] found = textSearch.Find(text, searchWord);
     return(found.First() + searchWord.Length);
 }
 public int GetIndexAfterFoundWord(string text, string searchWord)
 {
     int[] found = _textSearch.Find(text, searchWord);
     return(found.First() + searchWord.Length);
 }