Method Reference: string.cat

string: C = cat (dim, A, B, …)

Concatenate string arrays.

C = cat (dim, A, B, …) concatenates string arrays A, B, … along dimension dim. All input arrays must have the same size except along the operating dimension dim. Any of the input arrays may also be character matrixes, cell arrays of character vectors, numeric arrays, or logical arrays of compatible size.

Source Code: string