In our previous episode, Juha Manninen said:
> On Wed, Jun 18, 2014 at 2:36 PM, Bart <bartjun...@gmail.com> 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  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to