Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
3360:48bd8127e19b | 3361:4f40efa995c1 |
---|---|
15 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
16 ## along with Octave; see the file COPYING. If not, write to the Free | 16 ## along with Octave; see the file COPYING. If not, write to the Free |
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
18 ## 02111-1307, USA. | 18 ## 02111-1307, USA. |
19 | 19 |
20 ## usage: strcat (s, t, ...) | 20 ## -*- texinfo -*- |
21 ## | 21 ## @deftypefn {Function File} {} strcat (@var{s1}, @var{s2}, @dots{}) |
22 ## Concatenate strings. | 22 ## Return a string containing all the arguments concatenated. For example, |
23 ## | |
24 ## @example | |
25 ## @group | |
26 ## s = [ "ab"; "cde" ]; | |
27 ## strcat (s, s, s) | |
28 ## @result{} "ab ab ab " | |
29 ## "cdecdecde" | |
30 ## @end group | |
31 ## @end example | |
32 ## @end deftypefn | |
23 | 33 |
24 ## Author: jwe | 34 ## Author: jwe |
25 | 35 |
26 function st = strcat (s, t, ...) | 36 function st = strcat (s, t, ...) |
27 | 37 |