[fpc-pascal] Trim(): incompatibility with Delphi
michael.vancanneyt at wisa.be
michael.vancanneyt at wisa.be
Tue Mar 6 10:00:33 CET 2012
On Mon, 5 Mar 2012, Bart wrote:
> Hi,
>
> Brought up in Lazarus forums.
>
> Fpc Trim(): Trim whitespace from the ends of a string.
> Delphi Trim(): Trims leading and trailing spaces and control
> characters from a string.
Depends on what you mean by whitespace, of course.
FPC strips everything below Ord(' '), and thus should behave the same as Delphi.
Michael.
More information about the fpc-pascal
mailing list