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