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.17.1. This function has been downloaded 13 times.
str. The matched substrings will not be included in the strings returned in the array.
strwill 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.
stris an empty string, an empty array will be returned.
This function requires the following functions which are included automatically: