Hi,
Is there a STL function that lets me pass a full string, a substring to find and a substring to replace it with?
I will illustrate with an example:
I have a string like this: PCGI1.BATCH.CTL.OD.SEW4137.D
In that string I want to find the substring "CTL" and replace it with the substring "CDR"
Is there an existing function to do this in the STL that anyone knows of, and if not can anyone suggest a solution; I seem to be suffering from brain deadedness (as proven by the use of the word deadedness) and just cant see a solution.
Thanks