substr($string,rindex($string,$word),length($word)) = '';