[fpc-pascal] AnsiDequotedStr not return empty for ""

Micha Nelissen micha at neli.hopto.org
Sun Mar 2 13:17:35 CET 2008

Peter Vreman wrote:
>> In case always check Delphi documentation to see wether the behaviour
>> you see is intentional.
> In case of "" it is also ambigious what you want. Because "" in the
> middle of the string is translated to a single ". So you might also
> expect that it returns a single " instead of an empty string.

Wouldn't it be reasonable to expect the rules are similar to Pascal
itself, with '''' being a single quote, and '' an empty string ?


More information about the fpc-pascal mailing list