js string to array code example
Example 1: how to change string to array in javascript
a=anyElement.all
// console.log(a)
Array.from(a).forEach(function (element){
console.log(element)
})
Example 2: how to saperate string to array
Scanner in=new Scanner(System.in);
String input=in.nextLine();
String[] word=input.split(" ");