Array concatenation: Difference between revisions

Content added Content deleted
(1-based index)
(Add Ecstasy example)
Line 1,569: Line 1,569:


C := A + B;</syntaxhighlight>
C := A + B;</syntaxhighlight>

=={{header|Ecstasy}}==
It is as simple as <code><var>array1</var> + <var>array2</var></code>:
<syntaxhighlight lang="java">String[] fruits = ["apples", "oranges"];
String[] grains = ["wheat", "corn"];
String[] all = fruits + grains;</syntaxhighlight>


=={{header|Efene}}==
=={{header|Efene}}==