Dices up a string splitting it on the passed in delimiter and placing the results in an array while making sure that the empty string is converted to an empty array.This function is valid in v2.1.0 to v2.24.3. This function has been downloaded 60 times.
str. The matched substrings will not be included in the strings returned in the array.
str will be split on
delim. Unlike with
String.prototype.split(), the remaining substring after this limit will simply be placed in the last element of the array.
str is an empty string, an empty array will be returned.
This function directly requires the following functions which are included automatically: