Contact: aviboots(AT)netvision.net.il
40,769 questions
53,151 answers
573 users
const str = 'node.js c c++'; const ch = 'e'; console.log(str.indexOf(ch)); console.log(str.indexOf('E')); /* run: 3 -1 */