join()
Join array elements with glue string
join(arr, glue = "")
arr (array) — An arrayglue (string, optional) — A glue string. The default value is ""
string — Returns the joined string
a = [
"one",
"two",
"three",
"four",
"five"
]
writeln(join(a, "... ")) ' Output: one... two... three... four... five