Concatenates the specified arrays into one.
@a, @b - arrays to join together
... - any number of arguments may be specified. non-array arguments are simply added to the resulting array.
A new array
@a = @(1, 2, 3); @b = @("a", "b", "c"); @c = concat(@a, '|', @b, @b); println(@c);
@(1, 2, 3, '|', 'a', 'b', 'c', 'a', 'b', 'c')