1: 2: 3: 4: 5: 6: 7: 8:
Function SplitNGet(s As String, n As Integer, seperator As String) Arr = Split(s, seperator) If n < 1 Or n-1 > UBound(Arr) Then splitNGet = "" Else splitNGet = (Arr(n - 1)) End If End Function