Like described in the FAQs?
please consider to open a new thread, if you have further questions on this problem.
BTW: the FAQs also show how to remove trailing or leading spaces ...