strcatΒΆ
strcat concatenates the strings of a vector to one string. The elements are separated by a separator string.
-
ssString = strcat(smString, ssSeparator)
-
ssString = strcat(smString)
Return Value
ssString is a scalar string if smString is a vector and a vector if smString is a matrix. The matrix colums will be concatenated.
Parameters
-
smString
smString is a string matrix.
-
ssSeparator
ssSeparator is a scalar string. Default value is one blank
" "
.
Example
* strcat(["Cell1", "Cell2"], "; ")
Cell1; Cell2
History
Version | Description |
---|---|
R2016.0 | Call with one parameter. |
See also
id-610882