Function join()

← Back to Module string



Module string → join()

Description

Join array elements with glue string

join(arr, glue = "")


Parameters


Return Value


Usage Example

a = [
    "one",
    "two",
    "three",
    "four",
    "five"
]
 
writeln(join(a, "... "))   ' Output: one... two... three... four... five