concat

Syntax

concat(X, Y)

Arguments

X is a string/char or a string vector

Y is a string/char.

Details

If X is a string/char, form a new string by appending X with Y. If X is a string vector, Y serves as the separator between the elements in vector X and the function returns a string object.

Examples

$ concat (`hello, `world);
helloworld

$ x = concat(`IBM`GOOG`APPL, "\n");
$ x;
IBM
GOOG
APPL

$ typestr x;
STRING

$ size x;
1