drichter12
Technical User
I am trying to parse a line in a .csv file and break it into 3 variables. Here is the line...
172 0 01 10,70487,914193890129
The variables should be
v1 = 172 0 01 10
v2 = 70487
v3 = 914193890129
These variables will then be entered at a command line 1 item at a time with a carriage return after each. My problem is getting these variables to parse correctly as I seem to have issues related to the fact that the first variable has spaces in it. Can anyone point me in the right direction?
Thanks,
Dale
172 0 01 10,70487,914193890129
The variables should be
v1 = 172 0 01 10
v2 = 70487
v3 = 914193890129
These variables will then be entered at a command line 1 item at a time with a carriage return after each. My problem is getting these variables to parse correctly as I seem to have issues related to the fact that the first variable has spaces in it. Can anyone point me in the right direction?
Thanks,
Dale