Code to remove all superflous spaces