How to Convert a String to an Array with JavaScript - Stack Diary
Briefly

In this tutorial, we will look at four different ways to convert strings into arrays using JavaScript.Those ways include split(), Object.assign,Spread, and Array.frommethods.split()
To convert a string to an array with JavaScript, you can use the split() method.This method takes a delimiter string as an argument and returns an array of substrings.
Read at Stack Diary
[
add
]
[
|
|
]