首页 › 答案 › 题库 › 慕课 › 未分类

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

下列方法中,能够返回某个子串在字符串中出现次数的是()。
A.length
B.index
C.count
D.find
正确答案:count