public native join(separator as String) as String
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| Parameter | Description |
|---|---|
separator | Text inserted between elements. |
Joined textual representation.