Dim str1 As String, str2 As String
str1 = InputBox("请输入一个字符串")
subf str1, str2
Print str2
End Sub
Sub subf(s1 As String, s2 As String)
Dim temp As String
Static i As Integer
i = i + 1
temp = Mid(s1, i, 1)
If temp <> " " Then subf s1, s2
s2 = s2 & temp
End Sub
Dim str1 As String, str2 As String
str1 = InputBox("请输入一个字符串")
subf str1, str2
Print str2
End Sub
Sub subf(s1 As String, s2 As String)
Dim temp As String
Static i As Integer
i = i + 1
temp = Mid(s1, i, 1)
If temp <> " " Then subf s1, s2
s2 = s2 & temp
End Sub
结果是多少啊,求大神给出详细过程
胡说叔叔
临摹微笑
相关分类