Jump to content
UBot Underground

Creating a $List From File


Recommended Posts

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...