s = Text1.Text: p = 0: Sum = 0
For i = 1 To Len(s)
c = Mid(s, i, 1)
If c >= "0" And c <= "9" Then p = p * 10 + Val(c)
Else
Sum = Sum + p
p = 0
End If
Next i
在文本框text1输入"12rtt20pK8",程序运行后sum的值是( )
微信扫码预览、分享更方便