Contact: aviboots(AT)netvision.net.il
39,990 questions
51,935 answers
573 users
const s = "java c 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 */