I have a large text string (its a source code), and i need to loop through occurrences of a certain string (which can occur in random number of places), and replace each of them with a different value, which i cannot do using Replace() function considering it replaces all the of them with a unique value.
so for example this text string :
REPLACE_ME
REPLACE_ME
REPLACE_ME
needs to get converted to this :
RAND_STRING1
RAND_STRING2
RAND_STRING3
I read the entire text all at once, and already have it in a string variable.