jQuery Recherche de chaîne dans le texte

if (str.indexOf("Yes") >= 0)
Nice Nightingale