I want to check is some text is in a string for instance i have a string
str = \"car, bycicle, bus\"
and I have another string
Please use this :
var s = "foo"; alert(s.indexOf("oo") > -1);