[fpc-pascal] TStringList - Strange quotation mark handling

Gabor Boros mlnglsts at bgss.hu
Wed Aug 16 15:48:11 CEST 2017


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



More information about the fpc-pascal mailing list