[Newbies] Re: CSV file help

2016-06-17 Thread Joseph Alotta
> On Jun 17, 2016, at 3:45 PM, Ron Teitelbaum [via Smalltalk] > wrote: > > Hi Joe, > > I haven't tried it but I would probably start with Avi's CSV Parser > http://www.squeaksource.com/CSV.html I tried to download it, but the .mcz file could not

RE: [Newbies] Re: CSV file help

2016-06-17 Thread Ron Teitelbaum
Hi Joe, World menu> open… > Monticello Browser. Press the +Repository button and select HTTP. Paste in the Repository location MCHttpRepository location: 'http://www.squeaksource.com/CSV' user: '' password: ‘' accept and then select open. Select the latest

RE: [Newbies] CSV file help

2016-06-17 Thread Ron Teitelbaum
Hi Joe, I haven't tried it but I would probably start with Avi's CSV Parser http://www.squeaksource.com/CSV.html But in general you want to parse all of your lines, then for each line parse quoted values, then you can parse commas. All the best, Ron Teitelbaum > -Original Message- >

Re: [Newbies] CSV file help

2016-06-17 Thread Chris Cunningham
Hi Joseph, these methods are now in the package located at: MCHttpRepository location: 'http://www.squeaksource.com/CSVData' user: '' password: '' (follow Ron's excellent advice on how to use this). That said, I would no longer use this package to parse CSV - I've recently switched

[Newbies] Re: CSV file help

2016-06-17 Thread Joseph Alotta
So which package should I use to parse CSV data? > On Jun 17, 2016, at 5:05 PM, cbc [via Smalltalk] > wrote: > > Hi Joseph, > these methods are now in the package located at: > MCHttpRepository > location: 'http://www.squeaksource.com/CSVData' >

[Newbies] CSV file help

2016-06-17 Thread Joseph Alotta
Greetings, I am needing conceptual help with parsing these troublesome CSV files. I was breaking the lines using String >> findToken: but I found lines where extra deliminators were added. Notice the three following lines, the first and third line have extra commas from Oak Brook, IL and the