numpy.char.chararray.index

方法

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

喜欢 find 但提高 ValueError 当找不到子字符串时。

参见

char.index