Trim trailing space.