JSFiddle - React, Tailwind, and code Playground
by Ehsan Sajjad
JavaScript
var msg = "How are you ?";
if(msg.indexOf('?') != -1){
console.log("? exists");
}
by Ehsan Sajjad
var msg = "How are you ?";
if(msg.indexOf('?') != -1){
console.log("? exists");
}