Here's the problem, thanks in advanced...
I want have a function that is sending a string to another function. basically I want to take a string, and split it...
Here's what it looks like...
11111;22222;33333
of course the length of the string between the semi colon can vary. Also I am not always sure the delimiter is going to be a semi colon. I actually get the type of delimiter from another table so that will come in to my function as a variable...
the function looks like this:
Function Actually_Parse(pFld, pdlm)
Dim val_rtnFld As String
val_rtnFld = (Left(pFld, InStr(1, pFld, pdlm) - 1))
'Actually_Parse = val_rtnFld
End Function
any ideas??
I want have a function that is sending a string to another function. basically I want to take a string, and split it...
Here's what it looks like...
11111;22222;33333
of course the length of the string between the semi colon can vary. Also I am not always sure the delimiter is going to be a semi colon. I actually get the type of delimiter from another table so that will come in to my function as a variable...
the function looks like this:
Function Actually_Parse(pFld, pdlm)
Dim val_rtnFld As String
val_rtnFld = (Left(pFld, InStr(1, pFld, pdlm) - 1))
'Actually_Parse = val_rtnFld
End Function
any ideas??