On Wed, Jun 18, 2014 at 2:36 PM, Bart <[email protected]> wrote:
> The original code removes trailing spaces only, and Trim() removes
> more than spaces (and it removes leading blanks as well).

  Filename := TrimRight(Filename);

:)

Juha
_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to