Methods

joinΒΆ

join(arr:Arr, s:Str)

join(a:Arr, s:Str)

Join non-strings. Converts a elements to string first, then uses built-in join().
Source: stdlib.ngs:1477

a

Array to join

s

Delimiter

Returns

Str

Example

[1,2,3].join("::")  # The string 1::2::3