I need your help,
Using javascript, how can you find out if a match is in a string?
var x = "APPLE-PEAR/BANANA and ORANGE & LEMON"
So I need a function that would allow me to check value y against value x.
the value to search for:
y = "PEAR"
if (y matches the string in x) then return true