[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[manual] strrep.m: specify what is the return value
From: |
Francesco Potortì |
Subject: |
[manual] strrep.m: specify what is the return value |
Date: |
Fri, 26 Dec 2008 22:43:36 +0100 |
No changelog for this trivial change.
# HG changeset patch
# User Francesco Potortì <address@hidden>
# Date 1230327772 -3600
# Node ID 45cde306856941ed0f2ca1cbb4c67a863144da48
# Parent 283df98a8063f86feb7d7fc3e6695324ff5ac877
strrep.m: specify what is the return value
diff -r 283df98a8063 -r 45cde3068569 scripts/strings/strrep.m
--- a/scripts/strings/strrep.m Fri Dec 26 22:39:08 2008 +0100
+++ b/scripts/strings/strrep.m Fri Dec 26 22:42:52 2008 +0100
@@ -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 @@ endfunction
%!error strrep ();
%!error strrep ("foo", "bar", 3, 4);
-
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [manual] strrep.m: specify what is the return value,
Francesco Potortì <=