js split string into array of characters code example
Example 1: javascript split
var arr = ['hey', 'nay', 'wey'];
var let = arr.split(' ');
console.log(let);
Example 2: javascript separate string by char
var Str = "Hello There!"
var SplitOn = " "
var Results = Str.split(SplitOn);
//Results[0] will be 'Hello' and Results[1] will be 'There!'