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
// join two strings
$ concat (`hello, `world);
helloworld
// join IBM, GOOG and APPL with "," as the delimiter
$ x = concat(`IBM`GOOG`APPL, ",");
$ x;
IBM,GOOG,APPL
$ typestr x;
STRING
$ size x;
1