[fpc-pascal] ExtractStrings skips empty string parts?

silvioprog silvioprog at gmail.com
Mon Jan 27 20:03:46 CET 2014


2014-01-27 Michael Van Canneyt <michael at freepascal.org>
>
>  On Mon, 27 Jan 2014, silvioprog wrote:
>
>> 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. :)
>>
>
> Sure. Feel free to supply a patch.
>
> Michael.
>

Done: http://bugs.freepascal.org/view.php?id=25633.

Thank you again! (y)

-- 
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/731fa431/attachment.html>


More information about the fpc-pascal mailing list