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() _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal