[Newbies] Re: What is the simplest way to create a collection from a text file in CSV format?

2008-09-10 Thread Andy Burnett
<> Andy Burnett wrote: > I have a small database containing questionnaire responses. The DB can > output the responses (mainly descriptive paragraphs) in CSV format. > Ideally, I would like to read each of the records into a collection of > some kind. I was hoping that there might be a 'fromCSV:'

Re: [Newbies] Newbie seeks advice for working with connectors

2008-09-10 Thread Edgar J. De Cleene
El 9/10/08 3:56 AM, "Ian J Cottee" <[EMAIL PROTECTED]> escribió: > Many thanks for the pointer Edgar. I've installed and taken a look. > It's obviously a lot easier to understand as a unit than the > Connectors framework and if I don't make any progress I may well use > your simulator as a star

[Newbies] Re: What is the simplest way to create a collection from a text file in CSV format?

2008-09-10 Thread Zulq Alam
I ususally do something like this: (((FileStream readOnlyFileNamed: 'file.csv') contentsOfEntireFile " read and close " findTokens: String crlf) " split into lines " reject: [:e | e isEmpty]) " lose empty lines " collect: [:e | e findToke