单项选择题

下列哪个函数可以生成一个序列()。

A.length(x)
B.seq (from,to,by)
C.substr(x,start,stop)
D.toupper(x)