join()

The function that glues a list of strings into one string with a separator between each.

In more detail

join(", ", ["Ada", "Grace"]) returns "Ada, Grace". It is often the last step after a for expression.

Example

join(", ", ["Ada", "Grace"])

Related terms

Taught in

References