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

Micha Nelissen micha at neli.hopto.org
Sun Mar 2 13:00:58 CET 2008


Peter Vreman wrote:
>> That also in Delphi, but it is for me wrong.
>> In fact that make my program working wrong when send UserName="Admin"
>> and Password="", it check password as '""' not empty.
> 
> The behaviour is compatible with Delphi and will not be changed.

Might as well remove it then, as it seems to me it's pretty useless this
way, and people can only get confused in case empty things are not
working as expected?

Is there a use case in which you really want the empty quoted string to
not remove the quotes?

Micha



More information about the fpc-pascal mailing list