divide string by : code example
Example 1: js string to array
var myString = 'no,u';
var MyArray = myString.split(',');//splits the text up in chunks
Example 2: string to array javascript
const string = "Hello!";
console.log([...string]); // ["H", "e", "l", "l", "o", "!"]