klyn.collections.Array.join
method

    public native join(separator as String) as String

Description

Joins array elements into a single string.

    import klyn.collections

    values as Int[] = Int[3]
    values[0] = 10
    values[1] = 20
    values[2] = 30
    print(values.join(" / "))   # 10 / 20 / 30

Parameters

Parameter | Description
--- | ---
`separator` | Text inserted between elements.

Returns

Joined textual representation.