highlighting the word in rich text box
i am trying to highlight the search words in a rich text box.
i am able to highlight for both the single searched word as well as multiple searched word in rich text box.
what i am saying is that if the word that is to be searched is "am" then the words "am" are highlighted. also, if i input the words "am for as" then these three single words are also highlighted using the different colors.
now the problem that i got is if i entered the word suppose "high" then the portion "high" of the word highlighted must be highlighted.
can u help me in doing this.