conversting a string to an array code example
Example 1: java string to char array
String str = "example";
char[] ch = str.toCharArray();
Example 2: how to change string to array in javascript
a=anyElement.all
// console.log(a)
Array.from(a).forEach(function (element){
console.log(element)
})