CSV again.

Richard Gaskin ambassador at fourthworld.com
Sun Oct 18 18:46:18 EDT 2015


Mike Kerner wrote:
> I don't have a corner case file, yet, but I'm going to start adding one to
> Git in a minute...
>
> On Sun, Oct 18, 2015 at 2:26 AM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
>
>> On Sun, Oct 18, 2015 at 10:17 AM, Peter M. Brigham <pmbrig at gmail.com>
>> wrote:
>>
>> > At this point, finding a function that does the task at all -- reliably
>> > and taking into account most of the csv malformations we can anticipate
>> --
>> > would be a start.

The snippet included in my article is commonly used to test CSV parsers, 
which is unfortunate since it only covers a relatively small handful of 
edge cases - I added a case for in-data returns just below it:

<http://www.fourthworld.com/embassy/articles/csv-must-die.html>

Even then woefully incomplete, but hopefully worthwhile as at least a 
starting point.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list