Splite function not avalable in VB5
Split(StringToSplit[, DelimiterToUse, HowMany])
- Returns a one dimensional array
- StringToSplit is any valid string
- DelimiterToUse is the character that you want the string to be split by.
- HowMany is the number of elements you want to limit the array to.
- DelimiterToUse and HowMany are optional parameters.
- If you leave out the DelimterToUse, the function uses a space to split the string.
Example:
Dim MyString, MyArray
MyString = "apples,oranges,grapes"
MyArray = Split(MyString, ",")
Result:
A one dimensional array called MyArray with 3 elements.
Is there same this function (Split) in the VB5