Thursday, September 20, 2001 08:19 AM
I think, it is not possible to find the starting position of the selected text in a Text Area. The below code just replaces the first occurrence of the text. We can modify it to replace all the occurrences. This code may not help you, but thought it would be helpful to others.