SciPy

numpy.core.defchararray.chararray.rindex

chararray.rindex(sub, start=0, end=None)[source]

Like rfind, but raises ValueError when the substring sub is not found.

See also

char.rindex

Previous topic

numpy.core.defchararray.chararray.rfind

Next topic

numpy.core.defchararray.chararray.rjust