Trim all spaces.
Trim all spaces implementation.
replace spaces.