numpy.char.rfind#
- char.rfind(a, sub, start=0, end=None)[source]#
For each element, return the highest index in the string where substring
subis found, such thatsubis contained in the range [start,end).- Parameters:
- aarray-like, with
StringDType,bytes_, orstr_dtype - subarray-like, with
StringDType,bytes_, orstr_dtype The substring to search for.
- start, endarray_like, with any integer dtype
The range to look in, interpreted as in slice notation.
- aarray-like, with
- Returns:
- yndarray
Output array of ints
See also