method
chararray.
rindex
Like rfind, but raises ValueError when the substring sub is not found.
rfind
See also
char.rindex