numpy.char.chararray.index#

方法

char.chararray.index(sub, start=0, end=None)[source]#

如同 find,但當找不到子字串時會引發 ValueError

參見

char.index