题型:综合题 题类:常考题 难易度:困难
浙江省温州市新力量联盟2018-2019学年高二上学期信息技术期末考试试卷
Private sub Command1_click()
Dim s1 As String, s2 As String, t As String, ch As String
Dim i As Integer
s1 = Text1.Text
i = Len(s1)
t = "": s2 = ""
Do While i > 0
ch = Mid(s1, i, 1)
If ch >= "0" And ch <= "9" Then
t = ch + t
Else
s2 = s2 + t +, ①
t = ""
End If
i = i + 1 ②
Loop
s2 = s2 + t
Text2.Text = s2
End sub
① ②
试题篮