July 2017
Intermediate to advanced
158 pages
3h 41m
English
The String class has two split methods with the following signatures:
These split methods split the subject string into an array around the matches of the given regular expression, also called delimiters.
When there is a positive width match at the beginning of an input string, then an empty string is included at the beginning of the resulting array. However, a match of zero width by regular expression does not include any empty string at the beginning of the resulting array.
The array returned by this method contains a combination of the following elements:
Read now
Unlock full access