trim whitespace between segments