Function test(a As String, b() As String) As String
Dim i As Long, s As String
For i = LBound(b) To UBound(b)
s = s + b(i)
Next
test = s + a
End Function
Private Sub Test()
Dim marray() As String
marray = Split(“hello ,welcom ,you-“, “,”)
MsgBox test(“boy”, marray)
End Sub
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/229465.html原文链接:https://javaforall.net
