单项选择题

下面哪个方法可以获取字符@在字符串中的位置?()

A.substr()
B.toLowerCase()
C.indexOf()
D.toUpperCase()