Help for this page

Select Code to Download


  1. or download this
    substr($string,rindex($string,$word),length($word)) = '';
    
  2. or download this
    my $ri = rindex($string,$word);
    substr($string,$ri,length($word)) = '' if $ri > -1;