Re: Bob needs a new catchphrase

From: Gene Wirchenko <genew_at_ocis.net>
Date: Tue, 31 Oct 2006 09:56:05 -0800
Message-ID: <re3fk2pf8qlkhstk7f5ddih5r10baj73gj_at_4ax.com>


"David Cressey" <dcressey_at_verizon.net> wrote:

>"Gene Wirchenko" <genew_at_ocis.net> wrote in message
>news:tigdk2pu2lqfl81gts4bpq3op2s43gaet4_at_4ax.com...

[snip]

>> Some *adjustments* would be nice.
>>
>> Better handling of quoted strings is probably the biggest for me.
>
>
>CSV had a rule for quoted strings.
>
>Lowest level, the string has no commas in it, and doesn't begin with double
>quote: just put the string in as is. The first comma marks the end of the
>field.
>
>Next level: the string contains no double quotes. Start and end the string
>with a double quote.
>
>Next level: the string contains double quotes: A pair of double quotes
>represents a double quote. An the string begins and ends with an unpaired
>double quote.
>
>This worked well enough for me.

     Strings with new line characters in them.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:

     I have preferences.
     You have biases.
     He/She has prejudices.
Received on Tue Oct 31 2006 - 18:56:05 CET

Original text of this message