单项选择题

下列哪个函数可以将字符串转成大写字母?()

A.toLowercase()
B.toLowerCase()
C.toUppercase()
D.toUpperCase()