Php strrpos trouve la position de la dernière occurrence d'une sous-chaîne dans une chaîne
<?php
$pos = strrpos($mystring, "b");
if ($pos === false) { // note: three equal signs
// not found...
}
?>
SAMER SAEID