Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-01

Unclear documentation of Trim(), TrimLeft(), TrimRight() functions

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bernd

There it reads: "Trim strips blank characters (spaces) at the beginning and end of S and returns the resulting string. Only #32 characters are stripped.".

But from looking into the source it seems it will strip all these characters: [#0..#32] and not only #32 (space).

Bernd

Reply by email