Contact: aviboots(AT)netvision.net.il
41,543 questions
54,146 answers
573 users
const str = "typescript php c c++"; const len = str.split(" ").filter(word => word !== '').length; console.log(len); /* run: 4 */