split

split

> Functions

Splits the string into substrings delimited by delimiter. To limit the cut to a certain number of pieces, use the limit parameter.

Parameters
Return
Examples

split("456-789-123", "-") // ["456", "789", "123"] split("Hello", "") // ["H", "e", "l", "l", "o"] split("Hello", "zzz") // ["Hello"] split("456-789-123", "-", 2) // ["456", "789-123"]