Blank Space Trimmer

Hi guys,

Greetings...

While working with a process,Designers have to rename Features.

And unknowingly they type a blank space in between or front or rear of the rename.

So, is there any code through which we can control these unfortunate human errors.

Please kind the attachement of the reference pic

SolidworksApi macros