[fpc-pascal] Is there a bug in TStrings.Delimiter handling?

Frank Church vfclists at gmail.com
Mon Nov 21 07:59:23 CET 2011


adapterVals: TStringList

adapterVals.Delimiter := ';';
adapterVals.DelimitedText := '192.168.1.2,00:0E:08:E0:7C:ED,Word Space';
adapterVals[0] = '192.168.1.2'
adapterVals[1] = '00:0E:08:E0:7C:ED'
adapterVals[2] = 'Word' - this should be 'Word Space'

Is this a bug or the expected output? If the delimiter is set to a comma it
shouldn't treat a space as a delimter as well.
-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111121/a51e410b/attachment.html>


More information about the fpc-pascal mailing list