[fpc-pascal] ExtractStrings skips empty string parts?

silvioprog silvioprog at gmail.com
Mon Jan 27 05:23:31 CET 2014


2014-01-26 Michael Van Canneyt <michael at freepascal.org>
>
>  On Sun, 26 Jan 2014, silvioprog wrote:
>
>> Hello,
>>
>> Conforms issue #16043:
>>
>> "ExtractStrings in the Classes unit skips over empty text. For example:
>>
>
> Yes. This is delphi compatible.
>
> The only possibility is to add a new argument ExtractEmpty : Boolean =
> False;
> which would, when set to true, also extract empty values.
>
> Michael.


It would be a nice idea an new argument or an overloaded function. Could
use the StrictDelimiter name, to maintain compatibility with the already
used name in TStrings. :)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140127/cfca40bb/attachment.html>


More information about the fpc-pascal mailing list