$mixedStr = "hello world. This is john duvey"; $searchStr= "john";
if(strpos($mixedStr,$searchStr)) { echo "Your string here"; }else { echo "String not here"; }