I have a file named "Test_2008_01_21"
The file contains a string "manual" that occurs many times in the file
How can i find the positions of the string "manual" in the file
Ex: if the string " manual " occurs three times in the file. i want to replace the second occurance of string the " manual " with another string "annual".
Thanks for the reply
If know thw number of occurances of string I can replace the string
BUt if i want to know how many times the string appears?
What are the positions of string appearances?
Please suggest me