资讯

You can remove leading, trailing, and extra spaces between characters and numbers in Excel using TRIM(), SUBSTITUTE() or Find and Replace.
Excel's Trim function will remove all but one space between words; however, it cannot remove non-breaking spaces – this requires a combination Excel's Substitute and Trim functions.
Determine the "starting_position" -- the character position at which the trailing spaces begin -- by using the TRIM function to measure the length of the text in cell A1 without the trailing spaces.
Excel’s Text functions are a major time saver if your job entails managing massive data, especially data that’s imported from other sources.