Use the split() Method
You can use the JavaScript split() method to split a string using a specific separator such as comma ( , ), space, etc. If separator is an empty string, the string is converted to an array of characters.
Thanks.
This reply was modified 6 years, 5 months ago by Prachi.