char.
rindex
Like rfind, but raises ValueError when the substring sub is not found.
rfind
Calls str.rindex element-wise.
str.rindex
Output array of ints.
See also