Contact: aviboots(AT)netvision.net.il
39,885 questions
51,811 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" */