如下程序:Dima()AsStringPrivateSubCommand1_Click()DimtempAsStringDimiAsIntegertemp=Re

17 查阅

如下程序:

Dima()AsString

PrivateSubCommand1_Click()

DimtempAsString

DimiAsInteger

temp=Replace(Text1,",,",",")

a=Split(temp,",")

Fori=0ToUBound( )

Printa(i);

Nexti

EndSub程序运行后,在text1中输入字符串"23,,45,6",则单击command1按钮后,显示的结果

为( )

A.23,,45,6

B.23456

C.23,45,6

D.23,,45,6

参考答案:

C

计算机二级