PROPER

將指定字串中所有單字的第一個字母改為大寫。

使用範本

PROPER("united states")

PROPER(A2)

語法

PROPER(text_to_capitalize)

  • 要大寫的文字 - The text which will be returned with the first letter of each word in uppercase and all other letters in 小寫

附註

  • PROPER is useful for proper nouns, such as names of people or geographic locations.

  • PROPER capitalizes each word in 要大寫的文字 rather than the beginning of each sentence, and is therefore likely not the correct tool to use for paragraphs or other blocks of text.

  • PROPER will convert all characters not at the beginning of words to lowercase, which may cause problems with certain strings. 時間範圍example, using PROPER("mcLeod") to capitalize the surname McLeod results in "Mcleod" instead.

另請參閱

UPPER: 將指定字串的字母轉換成大寫。

SUBSTITUTE: 以新文字取代字串中的現有文字。

LOWER: 將指定字串的字母轉換成小寫。

範例

true
造訪學習中心

您有在公司或學校使用 Google 文件等 Google 產品嗎?快來試試實用的秘訣、教學課程和範本,瞭解如何在不安裝 Office 的情況下處理 Office 檔案、建立動態專案計劃和小組日曆、自動整理收件匣及進行其他作業。

搜尋
清除搜尋內容
關閉搜尋
Google 應用程式
主選單