下列方法中,能够返回某个子串在字符串中出现次数的是()。

下列方法中,能够返回某个子串在字符串中出现次数的是()。

A.length

B.index

C.count

D.find

正确答案:count

猜你喜欢