split() method splits a string into an array of substrings, and returns the new array.
Note: This method does not alter the original string.
Split by Words
|separator||optional||Specifies the string at which each split should occur.|
If omitted, the array returned contains one element consisting of the entire string.
|limit||optional||Specifies a limit on the number of splits to be found.|
limit must be an integer.
|[array]||Returns an Array of strings, containing the splitted values.|
Split by Nothing
Split by Characters
Split With Limits
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.