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