Mercurial > octave-nkf
diff doc/interpreter/strings.txi @ 8372:8dff9cba15fe
move str2mat to deprecated and make it a simple wrapper around char
author | Thorsten Meyer <thorsten.meyier@gmx.de> |
---|---|
date | Thu, 04 Dec 2008 22:16:52 +0100 |
parents | 4d78baf20ded |
children | 502e58a0d44f |
line wrap: on
line diff
--- a/doc/interpreter/strings.txi Thu Dec 04 12:03:45 2008 +0100 +++ b/doc/interpreter/strings.txi Thu Dec 04 22:16:52 2008 +0100 @@ -224,7 +224,7 @@ It has been shown above that strings can be concatenated using matrix notation (@pxref{Strings}, @ref{Character Arrays}). Apart from that, there are several -functions to concatenate string objects: @code{char}, @code{str2mat}, +functions to concatenate string objects: @code{char}, @code{strvcat}, @code{strcat} and @code{cstrcat}. In addition, the general purpose concatenation functions can be used: see @ref{doc-cat,,cat}, @ref{doc-horzcat,,horzcat} and @ref{doc-vertcat,,vertcat}. @@ -243,7 +243,7 @@ @end example @item -@code{char}, @code{str2mat} and @code{strvcat} +@code{char} and @code{strvcat} concatenate vertically, while @code{strcat} and @code{cstrcat} concatenate horizontally. For example: @@ -262,7 +262,7 @@ @end group @end example -@item @code{char} and @code{str2mat} both generate an empty row in the output +@item @code{char} generates an empty row in the output for each empty string in the input. @code{strvcat}, on the other hand, eliminates empty strings. @@ -286,7 +286,7 @@ @end example @item All string concatenation functions except @code{cstrcat} also accept cell -array data (@pxref{Cell Arrays}). @code{char}, @code{str2mat} and +array data (@pxref{Cell Arrays}). @code{char} and @code{strvcat} convert cell arrays into character arrays, while @code{strcat} concatenates within the cells of the cell arrays: @@ -337,8 +337,6 @@ @DOCSTRING(char) -@DOCSTRING(str2mat) - @DOCSTRING(strvcat) @DOCSTRING(strcat)