Use 'rfind' (want last '.' in string)