[fpc-pascal] Trim(): incompatibility with Delphi
patspiper at gmail.com
Tue Mar 6 17:42:58 CET 2012
On 06/03/12 11:00, michael.vancanneyt at wisa.be wrote:
> On Mon, 5 Mar 2012, Bart wrote:
>> 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.
"Trim strips blank characters (spaces) at the beginning and end of S and
returns the resulting string. Only #32 characters are stripped."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal