reading a text file and assigning to an array
I have a text file that has lines that look like this:
001,Mickey Mouse ,5000,200
The first is a string and is 3 characters
The second is a string and fixed at 25 characters
The last two are singles
I know how to open the file and read the lines, but how can I separate the values that are text delimited and put them into an array? I know I need a loop to do this, and probably an integer variable to hold the number of records in the array.
I also need to display the ID numbers (first 3 chars) in list box... how?
Thanks!