join(delimiter?)

Returns a string of all the values in the collection delimited by the given string.

The default delimiter is an empty string.

On collections

Usage

  • join()
  • join(delimiter)

Related

  • split(delimiter)

    Returns an array of all the non-overlapping strings between the given delimiter. The delimiter may be either a string or a regular expression.