Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 562 Bytes

arraytostring.adoc

File metadata and controls

38 lines (30 loc) · 562 Bytes

ArrayToString()

Important

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

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