You can concatenate arrays (strings are arrays of course) with the cat operator ~.
Example 1:
char[] a = "He";
char[] b = "o world!";
char[] d = "l";
char[] c = a ~ d ~ "l" ~ b;
|
Example 2:
static int[] a = [1,2,3];
static int[] b = [2,3];
int[] c = a ~ b;
|
See also:
Array Setting and Operations
|