JohnB 255 Posted June 25, 2010 Report Share Posted June 25, 2010 If I have a csv file with 5 columns of data, how do I create a list from that file for a specific column only? i.e. first name, last name, address, tel #, zip code So I want to create a list of just telephone numbers for example. And better yet, can I create a list from this file using, say, positions 0 and 5? Thanks. John Quote Link to post Share on other sites
webautomationlab 21 Posted June 25, 2010 Report Share Posted June 25, 2010 Off the top of my head Load the file into a list, MAIN LIST The loop through MAIN LIST and each list item, add that to a list with , as the separator. Then call list position 0 and 5 and add to a final good list. That should get you started. If you get stuck, let me know and I can dig up some code to show you. Quote Link to post Share on other sites
JohnB 255 Posted June 25, 2010 Author Report Share Posted June 25, 2010 Thank you! I'll give it a go! John Quote Link to post Share on other sites
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.