String
Split

_.split()

_.split([string=''], separator, [limit])

Splits string by separator.

Note: This method is based on String#split.

Arguments

[string=''] (string): The string to split.
separator (RegExp|string): The separator pattern to split by.
[limit] (number): The length to truncate results to.

Returns

(Array): Returns the string segments.

Example

Deep