vb里的split函數(shù)說(shuō)明?
1. 函數(shù)解釋?zhuān)?將一個(gè)字符串按照某個(gè)子字符串分割成字符數(shù)組。Function Split(Expression As String, [Delimiter], [Limit As Long = -1], [Compare As VbCompareMethod = vbBinaryCompare]) Member of VBA.Strings Split a string into an array2. 例子Private Sub Command1_Click()Dim x As Stringx = "a b c"Dim yy = Split(x, " ")For i = 0 To UBound(y) Debug.Print y(i)NextEnd Sub