On 06/03/12 11:00, michael.vancann...@wisa.be wrote:
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.
From http://www.freepascal.org/docs-html/rtl/sysutils/trim.html:
"Trim strips blank characters (spaces) at the beginning and end of S and
returns the resulting string. Only #32 characters are stripped."
Stephano
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal