Contact: aviboots(AT)netvision.net.il
38,806 questions
50,501 answers
573 users
const str = "nodejs node.js c++ php c java"; const subs = str.slice( str.indexOf('e') + 1, str.lastIndexOf('c'), ); console.log(subs); /* run: js node.js c++ php */