Replace occurrences of pattern with other string.
Replaces matching substrings in obj with a given replacement string.
varargin is passed along to the core Octave
strrep function. This
supports whatever options it does.
TODO: Maybe document what those options are.
Returns a string array of the same size as obj.