This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

ArrayToString()

Deprecated in 3.0.

Please use join() method of Array.

ArrayToString(array,separator): String

Convert array to string

Table 1. Parameters

array

Array

Array with elements to concatenate

separator

String

Separator between array elements

Return

Concatenated string

a = [1, 2, 3, 4];
b = ArrayToString(a, ";");
println(b); // will print "1;2;3;4"