numpy.char.chararray.count#

方法

char.chararray.count(sub, start=0, end=None)[原始碼]#

傳回一個陣列,其中包含子字串 sub 在 [start, end] 範圍內的非重疊出現次數。

參見

char.count