1.4 repalceSpaces.