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.

On collections

Usage

  • split(delimiter)

Related

  • join(delimiter?)

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