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

Martin lazarus at mfriebe.de
Wed Jun 24 16:40:14 CEST 2009


Is this intention? (fpc 224)

Fstringlist.CommaText = 'a b,c';
gives three strings, because the comma serves as separator too?

rtl\objpas\classes\stringl.inc line 314

       while (j<=length(AValue)) and
             (Ord(AValue[j])>Ord(' ')) and  // <=== this here
             (AValue[j]<>FDelimiter) do inc(j);


should that be >= ?

Martin



More information about the fpc-devel mailing list