Mercurial > hg > octave-terminal
changeset 8431:99b6066fccb6
strrep.m: specify what is the return value
author | Francesco Potortì <pot@gnu.org> |
---|---|
date | Fri, 26 Dec 2008 22:42:52 +0100 |
parents | 24e4dc8b0e3a |
children | c9cb8f0b8b4f |
files | scripts/strings/strrep.m |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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); -