- Apr 13, 2005
- 1,788
- 0
- 0
Hey all,
I'm trying to get a file of comma seperated values, and read them into an array.
So if my data file contained the following line:
00,11,22,33,44
Then the array should contain:
Array(0) = 00
Array(1) = 11
Array(2) = 22
Array(3) = 33
Array(4) = 44
I have tried using the "Line Input" command, but VB is seeing the comma's in the data file as string characters, not as seperators for the array.
Does anyone know how to so this? I don't program that much, and this has got me really stuck?...
Thanks all,
RoD
I'm trying to get a file of comma seperated values, and read them into an array.
So if my data file contained the following line:
00,11,22,33,44
Then the array should contain:
Array(0) = 00
Array(1) = 11
Array(2) = 22
Array(3) = 33
Array(4) = 44
I have tried using the "Line Input" command, but VB is seeing the comma's in the data file as string characters, not as seperators for the array.
Does anyone know how to so this? I don't program that much, and this has got me really stuck?...
Thanks all,
RoD
