To use the split function you need an array of strings and a string to split.
The following code will take myString and split it where there is a space. This produces three strings in myStringArray.
Code:Dim myStringArray() As String Dim myString As String myString = "Hello Out There" myStringArray = Split(myString, " ")




Reply With Quote