I have a requirement wherein I need to delete the exact word from a given string. I have used REPALCESTR but it also removed from words where it's matching paritally. I don't want to replace it when the pattern matched to a part of the word.
Here is an example:
Source string: "beta, SR, betaSR, RTM, GA"
REplace string: SR
Output: "beta, betaSR, RTM, GA"
but REPLACESTR is giving the following output
Output: "beta, beta, RTM, GA"
Try replacing 'SR, ' instead of only 'SR'.
If that's not what you need, please clarify with some more examples.