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

Andy Burnett andy.burnett at knowinnovation.com
Wed Sep 10 02:21:06 UTC 2008


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:' method, but I haven't
found one.  One approach I had thought about was to edit the text so in
order to create a series of array definitions, and then paste that into a
workspace. However, that does lack a bit of elegance! So, is there a neat
way of doing this?

Cheers
AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080909/7d8d0e6d/attachment.htm


More information about the Beginners mailing list