On 6/18/14, Juha Manninen <[email protected]> wrote:

> How about :
>   Filename := Trim(Filename);

The original code removes trailing spaces only, and Trim() removes
more than spaces (and it removes leading blanks as well).

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

Reply via email to