In our previous episode, Juha Manninen said: > 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);
or
Filename := TrimRightSet(Filename,[' ']);
:-)
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
