So which package should I use to parse CSV data?
<br/><br/><br/><div class='shrinkable-quote'><br/>&gt; On Jun 17, 2016, at 5:05 PM, cbc [via Smalltalk] &lt;<a href="/user/SendEmail.jtp?type=node&node=4901576&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; wrote:
<br/>&gt; 
<br/>&gt; Hi Joseph,
<br/>&gt; these methods are now in the package located at:
<br/>&gt; MCHttpRepository
<br/>&gt; &nbsp; &nbsp; location: '<a href="http://www.squeaksource.com/CSVData'" target="_top" rel="nofollow" link="external">http://www.squeaksource.com/CSVData'</a><br/>&gt; &nbsp; &nbsp; user: ''
<br/>&gt; &nbsp; &nbsp; password: ''
<br/>&gt; (follow Ron's excellent advice on how to use this).
<br/>&gt; 
<br/>&gt; That said, I would no longer use this package to parse CSV - I've recently switched over to Avi's parser as well.
<br/>&gt; (My package still has some interesting uses for the data once you pull it in. &nbsp;Of course, it isn't documented.)
<br/>&gt; 
<br/>&gt; I should clean up the page that you found - I had forgotten that it even existed!
<br/>&gt; 
<br/>&gt; On Fri, Jun 17, 2016 at 1:42 PM, Joseph Alotta &lt;[hidden email]&gt; wrote:
<br/>&gt; Greetings,
<br/>&gt; 
<br/>&gt; I am needing conceptual help with parsing these troublesome CSV files. &nbsp;I was breaking the lines using String &gt;&gt; findToken:
<br/>&gt; but I found lines where extra deliminators were added. &nbsp;Notice the three following lines, the first and third line have extra commas from Oak Brook, IL and the second line does not have the comma.
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 02/04/2016 &nbsp;Thu,,&quot;COSTCO WHSE #0388 000000000990388 - OAK BROOK, IL&quot;,,,,,37.00,,,,,,,,
<br/>&gt; 02/05/2016 &nbsp;Fri,,&quot;ELECTRONIC PAYMENT RECEIVED-THANK&quot;,,,,,-443.52,,,,,,,,
<br/>&gt; 02/06/2016 &nbsp;Sat,,&quot;COSTCO WHSE #1088 000000000991088 - BOLINGBROOK, IL&quot;,,,,,50.86,,,,,,,,
<br/>&gt; 
<br/>&gt; I think I need to parse with the double quotes in mind, but I don’t know where to break it.
<br/>&gt; 
<br/>&gt; Also, I was reading in the squeak pages that someone had already written code for this, but I couldn’t find anything.
<br/>&gt; 
<br/>&gt; <a href="http://wiki.squeak.org/squeak/3260" target="_top" rel="nofollow" link="external">http://wiki.squeak.org/squeak/3260</a>&nbsp;has two methods, CSVSubstrings and SequenceableCollection-asCSVLine.st
<br/>&gt; 
<br/>&gt; Does anyone know where these are now?
<br/>&gt; 
<br/>&gt; Sincerely,
<br/>&gt; 
<br/>&gt; Joe.
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; _______________________________________________
<br/>&gt; Beginners mailing list
<br/>&gt; [hidden email]
<br/>&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>&gt; 
<br/>&gt; 
<br/>&gt; _______________________________________________ 
<br/>&gt; Beginners mailing list 
<br/>&gt; [hidden email] 
<br/>&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>&gt; 
<br/>&gt; 
<br/>&gt; If you reply to this email, your message will be added to the discussion below:
<br/>&gt; <a href="http://forum.world.st/CSV-file-help-tp4901546p4901574.html" target="_top" rel="nofollow" link="external">http://forum.world.st/CSV-file-help-tp4901546p4901574.html</a><br/>&gt; To start a new topic under Squeak - Beginners, email <a href="/user/SendEmail.jtp?type=node&node=4901576&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> 
<br/>&gt; To unsubscribe from Squeak - Beginners, click here.
<br/>&gt; NAML
</div><br/>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/CSV-file-help-tp4901546p4901576.html">Re: CSV file help</a><br/>
Sent from the <a href="http://forum.world.st/Squeak-Beginners-f107673.html">Squeak - Beginners mailing list archive</a> at Nabble.com.<br/>