单项选择题

A.txt.countTo(X?)
B.txt.locate(X?)
C.txt.find(X?)
D.txt.in dexOf(X?)