# HG changeset patch # User Francesco Potortì # Date 1230327772 -3600 # Node ID 99b6066fccb625ff208ea0990314fa7b7f196373 # Parent 24e4dc8b0e3a3483299ef67ef3d78adf9a56fecb strrep.m: specify what is the return value diff --git a/scripts/strings/strrep.m b/scripts/strings/strrep.m --- a/scripts/strings/strrep.m +++ b/scripts/strings/strrep.m @@ -20,7 +20,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} strrep (@var{s}, @var{x}, @var{y}) ## Replaces all occurrences of the substring @var{x} of the string @var{s} -## with the string @var{y}. For example, +## with the string @var{y} and returns the result. For example, ## ## @example ## strrep ("This is a test string", "is", "&%$") @@ -95,4 +95,3 @@ %!error strrep (); %!error strrep ("foo", "bar", 3, 4); -