Mercurial > hg > octave-lyh
diff scripts/strings/strcat.m @ 3361:4f40efa995c1
[project @ 1999-11-19 21:19:37 by jwe]
author | jwe |
---|---|
date | Fri, 19 Nov 1999 21:19:44 +0000 |
parents | c17387059fd3 |
children | f8dde1807dee |
line wrap: on
line diff
--- a/scripts/strings/strcat.m +++ b/scripts/strings/strcat.m @@ -17,9 +17,19 @@ ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -## usage: strcat (s, t, ...) -## -## Concatenate strings. +## -*- texinfo -*- +## @deftypefn {Function File} {} strcat (@var{s1}, @var{s2}, @dots{}) +## Return a string containing all the arguments concatenated. For example, +## +## @example +## @group +## s = [ "ab"; "cde" ]; +## strcat (s, s, s) +## @result{} "ab ab ab " +## "cdecdecde" +## @end group +## @end example +## @end deftypefn ## Author: jwe