Check String contains another substring in JavaScript

Posted On // Leave a Comment
var s = "foo";
alert(s.indexOf("oo") != -1);

0 komentar: