Text.Proper
將每個字的第一個字母變成大寫。
Syntax
Text.Proper(
text as text,
optional culture as text
) as text
Remarks
傳回只將文字值 text 中每個字第一個字母變成大寫的結果。所有其他字母都以小寫格式傳回。也可提供選用的 culture (例如 "en-US")。
Examples
Example #1
將 Text.Proper 用於簡單的句子。
Text.Proper("the QUICK BrOWn fOx jUmPs oVER tHe LAzy DoG")
Result:
"The Quick Brown Fox Jumps Over The Lazy Dog"
Category
Text.Transformations