Contact: aviboots(AT)netvision.net.il
40,011 questions
51,958 answers
573 users
let str = "James John William"; const arr = str.split(" "); arr.forEach(function(word) { console.log(word); }); /* run: "James" "John" "William" */