SciPy

This is documentation for an old release of NumPy (version 1.11.0). Read this page in the documentation of the latest stable release (version > 1.17).

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