[fpc-pascal] TStringList - Strange quotation mark handling
Benito van der Zander
benito at benibela.de
Wed Aug 16 16:45:30 CEST 2017
Hi,
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
Cheers,
Benito
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
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170816/b534c05d/attachment.html>
More information about the fpc-pascal
mailing list