运行下面程序,其输出结果(str2的值)为 【13】 。Dim strl, str2
题型:填空题
问题:
运行下面程序,其输出结果(str2的值)为 【13】 。
Dim strl, str2 As String
Dim i As Integer
str1="abcdef"
For i= 1 To Len(str1)Step2
str2=UCase(Mid(str1,i,1))+str2
Next
MsgBox str2
运行下面程序,其输出结果(str2的值)为 【13】 。
Dim strl, str2 As String
Dim i As Integer
str1="abcdef"
For i= 1 To Len(str1)Step2
str2=UCase(Mid(str1,i,1))+str2
Next
MsgBox str2