SPLIT BY MULTIPLE DELIMITERS JAVASCRIPT - jobhuntley.com
How to Split String With Multiple Delimiters in JS - Fedingo Generally, developers use split function to split a string using delimiter. If you want to split the above string by only space, then here is the command to do so. a.split (' '); ["Hello", "World,Good", "Morning"] If you want to split the above string by space as well as comma followed by space then you need to use regular expression ...