题库 高中信息

题干

有如下 VB 程序段:
Private Sub Commandl_Click()
Dim s As String, res   As String, ch As String
Dim i As Integer
s=Textl.Text:res="":ch=""
For i=1 To Len(s)
ch=Mid(s,i,l)
If Not(ch>="0"And ch<="9"=Then
res=ch+res
End If
Next i
Labell.Caption=res
End Sub
在文本框 Textl 中输入“Qns 2020_GK”后单击按钮 Command1,在标签Labell 中显示(   )
A.Qns_GKB.QnsGKC.KG_snQD.KGsnQ .
上一题 下一题 0.99难度 选择题 更新时间:2020-03-31 08:08:23

答案(点此获取答案解析)