I had a need to to replace substrings with a replacement, and I'm having a hard time coming up with an concise solution. What I need to do is this:
'foobartestfootest' replace 'foo' 'xy' Should yield: 'xybartestxytest' Any suggestions? Regards, Elias