也可用SPLIT分割后合并
Public Function MySplit(Str As String) As String
Dim vArr As Variant
Dim astr(10) As String
vArr = astr
vArr = Split(Str, " ")
Str = ""
For i = LBound(vArr) To UBound(vArr)
If vArr(i) <> "" Then
Str = Str & vArr(i) & Space(1)
End If
Next i
MySplit = Trim(Str)