有如下VB程序段: s = Text1.Text a = "": max = "" For i = 1 To Len(s) c = Mid(s, i, 1) If c >= "0" And c <= "9" Then a = a + c Else If a > max Then max = a a = "" End If Next i Label1.Caption = max 执行该程序段,在文本框Text1中输入“153-023-583-65-”,则Label1中显示的结果是( )
A . 023
B . 65
C . 153
D . 585
答案:B