[fpc-pascal] ExtractStrings skips empty string parts?

Michael Van Canneyt michael at freepascal.org
Mon Jan 27 09:13:32 CET 2014



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.



More information about the fpc-pascal mailing list