JavaScript check String contain some string - http://stackoverflow.com/a/1789952/4549947
var s = "foo"; alert(s.indexOf("oo") > -1);