[fpc-pascal] Trim(): incompatibility with Delphi

Bernd prof7bit at googlemail.com
Tue Mar 6 17:12:25 CET 2012


The documentation is incorrect. It says:

"Description

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

But it will strip everything <= #32, not only #32 as the documentation
suggests. The same error is in the docs for TrimLeft() and TrimRight()



More information about the fpc-pascal mailing list