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

Peter Vreman peter at freepascal.org
Sun Mar 2 12:44:09 CET 2008


zaher dirkey wrote:
> S := AnsiDequotedStr('""', '"');
> 
> Return in S the same source string for empty quoted.
> 
> 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.

Peter



More information about the fpc-pascal mailing list