Mwnci join() Function

Syntax

join(array, separator)

Description

Join concatenates the elements of array to create a single string. The separator string is placed between elements in the resulting string.

Example

a=["This is line 1", "2", "Line 3"]
line=join(a, "\n")
println(line)
line=join(a, ":")
println(line)


This is line 1
2
Line 3
This is line 1:2:Line 3