[fpc-devel] stringlist.commatext breaks at space?

Michael Van Canneyt michael at freepascal.org
Thu Jun 25 10:55:34 CEST 2009



On Wed, 24 Jun 2009, Martin wrote:

> Is this intention? (fpc 224)
>
> Fstringlist.CommaText = 'a b,c';
> gives three strings, because the comma serves as separator too?

Of course, why else is it called commatext ?

The 'strange' one is the space. 
You can disable the use of the space as a separator by setting 'Strictdelimiters' to True.

Michael.



More information about the fpc-devel mailing list