Python Rindex, See example below.