


% -*- texinfo -*-
% @deftypefn {Function File} {} strrep (@var{s}, @var{x}, @var{y})
% Replace all occurrences of the substring @var{x} of the string @var{s}
% with the string @var{y} and return the result. For example,
%
% @example
% @group
% strrep ('This is a test string', 'is', '&%$')
% @result{} 'Th&%$ &%$ a test string'
% @end group
% @end example
% @seealso{regexprep, strfind, findstr}
% @end deftypefn