andrew104 Posted December 12, 2002 Posted December 12, 2002 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! Quote
Moderators Robby Posted December 12, 2002 Moderators Posted December 12, 2002 this may help.... http://www.xtremedotnettalk.com/showthread.php?s=&threadid=49582 Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.