numpy.chararray.rindex

方法

chararray.rindex(sub, start=0, end=None)[源代码]

喜欢 rfind 但提高 ValueError 当子字符串 sub 找不到。

参见

char.rindex