Contact: aviboots(AT)netvision.net.il
41,267 questions
53,776 answers
573 users
const s = "java nodejs go javascript rust"; let arr = s.split(" "); console.log("The length of the last word is: " + arr[arr.length - 1].length); /* run: The length of the last word is: 4 */