Contact: aviboots(AT)netvision.net.il
39,884 questions
51,810 answers
573 users
let str = 'javascript c typescript c++ node.js'; const ch = '+' str = str.slice(0, str.indexOf(ch)); console.log(str); /* run: "javascript c typescript c" */