Remove spaces around the string.