Jooel,
It is possible to have more than one dot '.' in a filename so that is why I proposed a reverse search. It may look like the number of chars after the filename may always be the same so may be able to just count backwards from Len().
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.