Contact: aviboots(AT)netvision.net.il
40,769 questions
53,151 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" */