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