php - need help with using stristr -
i need return after "i can read." understand search string , find whats in array $check
how make check , return whats found after "i can read"?
$string = "i can read. can count. can spell."; $check = array("i can count.", "i can't count."); $find = stristr($string, $check, true); echo $find;
$find = 'i can read.'; $string = '[...]'; echo substr($string,stripos($string,$find)+strlen($find));
Comments
Post a Comment