char.
rfind
For each element in a, return the highest index in the string where substring sub is found, such that sub is contained within [start, end].
Calls str.rfind element-wise.
str.rfind
Optional arguments start and end are interpreted as in slice notation.
Output array of ints. Return -1 on failure.
See also