单项选择题

下列哪个函数是计算x 中的字符数量()。

A.nchar(x)
B.substr(x,start,stop)
C.toupper(x)
D.tolower(x)