Benito van der Zander wroteHi,
[sorry I could not stop myself from reordering your top-post]
Show quoted text 20 lines
Am 16.08.2017 um 15:48 schrieb Gabor Boros:
> 2017. 08. 16. 15:21 keltezéssel, Michael Van Canneyt írta:
>> Because the quotes must be the first and last character of each
>> string (or "cell").
>>
>> As noted in another reply, set the quote character to something
>> unused, and it will disable (or circumvent) quoting altogether.
>
> SL2.QuoteChar:=#0; solved my problem. But strange if the
> TStringList think from a starting " the string is quoted. For
> example if data.cvs contains "abc|89|0 I got the next result with
> my example program (without QuoteChar trick): 0 * abc|89|0
>
> Gabor _______________________________________________
very stupid defaults indeed.
I just had a bug last week, because I was using TStringList as map
and forgot to change it to case-sensitive
Because the default format of QuotedText is actually 'csv', which goes like "field 1 = value 1","value 2","field 3" and StringList was created to deal with that (I think). You can bend QuotedText to do amazing things but the quote detector is set for the default "" here.
Show quoted text 6 lines
Cheers, Benito
el es