Hello
How do I replace specific strings in a _str variable with another string.
Here is an example describing what I want to do.
_str before = "ABC";
_str searched = "B";
_str replacedWith = "D";
_str after;
after = xxxxx(before, searched, replacedWith); // after = "ADC"
Is there any way to do this? It would be nice if I can use regular expression for "searched" string above.
Thank you.