How to split the string at a specific character in JavaScript?
Originally posted here!
To split a string at a specific character, you can use the split() method on the string and then pass that character as an argument to the split() method in JavaScript.
/* Split string at specific character */
str.split(",");...
melvingeorge-me.hashnode.dev2 min read