调用示例:Me.Text1= mySplitText("CIGT - CIMC TF-Carol-Bond")
需要返回: Bond
Function mySplitText(strMyText As String) As String
Dim i As Integer
i = UBound(Split(strMyText, "-", -1), 1)
mySplitText = Split(strMyText, "-", -1)(i - 1)
End Function
按以上返回Carol,到底是哪里的问题??