JavaScript Strings
The split() Method
split() splits a string into an array of substrings, and returns the array:
How,are,you,doing,today?