Alc,
I realize that you have a working solution, but I wonder how often the user gets the "unintended" result.
It is clear that the trailing space is being removed in your current set up.
Do you have any statistics on this? Is part of the solution to do a little training with the users?
Just curious.