A starting point:
Function getAnArray(strToParse As String, strDelimiter As String)
Dim a
a = Split(strToParse, strDelimiter)
If UBound(a) >= 0 Then getAnArray = a
End Function
Example of call in the debug window:
? getAnArray("1,2,34",",")(0)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.