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
ES5
if(str.indexOf(str2) >= 0) { ... }
ES6
if (str.includes(str2)) { }