numpy.chararray.rfind

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

For each element in self, return the highest index in the string where substring sub is found, such that sub is contained within [start, end].

也可以看看

char.rfind