join
Join an array of strings into a single string.
Syntax
Section titled “Syntax”s = join(A)s = join(A, dlm)s = join(A, dlm, dim)Description
Section titled “Description”Concatenates the elements of string array A, separating with the delimiter dlm (default: space). With dim, joins along the specified dimension; otherwise along the first non-singleton dimension.
Examples
Section titled “Examples”join({'a', 'b', 'c'}, '-') % 'a-b-c'join(['x'; 'y'; 'z']) % 'x y z'