Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

移除文字的所有多餘空格,僅保留單字之間的單個空格。對您從其他應用程式接收到之可能含有不規則空格的文字使用 TRIM 函數。

語法

TRIM(text)

文字     為您所要移除多餘空白的文字資料。

範例

公式

說明 (結果)

=TRIM(" First Quarter Earnings ")

移除文字字串中第一個和最後一個空白字元 (第一季收益)

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×