title: TextRange Find string c#
body: <p>Im looking for a function that will enable me to find a certain string in a textRange and gives me back its textPointers(beginning and end)
  whats the best approach or is there any textRange method that can help me ?
  Thanks.</p>
  
  <blockquote>
    <p>I have a problem in my approach which happens when i have same words in my textRange and im trying to get the Textpointer for each word in the textRange. 
    <br>For example my text in the textRange is <br>"hello hello hello"<br>
    and i want to get the text pointer for each word in the textRange, it will mix the second and last word and give me (the first indexOf the word) or last depends on which method i use.</p>
  </blockquote>