Searching and replacing in a string

Problem

You want to replace all occurrences of some string with some other text.

Solution

(TODO: fill this in)

strrep()
regexprep()