peterdarazs
asked on
split - on "text","text,text","numeric"
Hi experts
I have some data that's difficult to comma split because field 1 sometimes also contains a comma and sometimes not. I tried Split (LINEDATA, "Chr(34)," ) but it just delivers the whole line
Is there a recognised vb6 split statement for data in this format? (below)
"21/07/2006","Bigg, Anne","1162","Private","18 /06/1949", "F","37799 8","GK","M I50",
"22/07/2006","Script Fee","23965","Private","11 /01/1911", "","377382 ","JC","MI 42","5.45" ,
Thanks
I have some data that's difficult to comma split because field 1 sometimes also contains a comma and sometimes not. I tried Split (LINEDATA, "Chr(34)," ) but it just delivers the whole line
Is there a recognised vb6 split statement for data in this format? (below)
"21/07/2006","Bigg, Anne","1162","Private","18
"22/07/2006","Script Fee","23965","Private","11
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks folks, for both these useful suggestions. I've assigned more or less equal points if that's ok with you. (one's for being easy, and the may be more accurate) Many thanks
P
P
https://www.experts-exchange.com/questions/22606227/Escape-sequence-in-VB.html