Pesquisar jQuery por string no texto

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