How to extract specific columns/line items from a CSV file?

Mike Doub mikedoub at gmail.com
Wed Sep 28 20:27:53 EDT 2016


There is a function in the masterlibrary that extracts columns.

https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0

-= Mike 

  Original Message  
From: dochawk at gmail.com
Sent: September 28, 2016 8:14 PM
To: use-livecode at lists.runrev.com
Reply-to: use-livecode at lists.runrev.com
Subject: Re: How to extract specific columns/line items from a CSV file?

On Tue, Sep 20, 2016 at 1:16 PM, Keith Clarke <keith.clarke at me.com> wrote:

> I’ve a large number of sizeable CSV files from each of which I need to
> extract just 2 or 3 specific columns. Creating nested iterations through
> every item in every line seems somewhat inefficient - as does loading each
> full file into memory - so I feel I must be missing a trick here.

I'm late to the party, but if it's a one-off, open in a spreadsheet, select
what you want, and paste into a field in livecode.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


More information about the use-livecode mailing list