8.2.52.21 string.strrep

Method: out = strrep (obj, match, replacement)
Method: out = strrep (…, varargin)

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.