in reply to Strip spaces in hash

How do you create the stripped values in the other hash?