Split the string.
pattern | Specifies a pattern or delimiter set. |
text | Specify the character string to be divided. |
reserve | Reserved for future versions. |
ignoreSpace | Specify true if the element is empty (for example, ,,,,, when the comma is the delimiter) and you do not want to copy the element into the array. |
Returns the object itself of this Array class.
Initialize the array and copy the strings separated by patterns or delimiters into this array.