strrchr

A PHP Function that finds the last occurrence of a character in a string
$ext = strrchr($image_name, '.');
by LRS September 08, 2004
mugGet the strrchr mug.