Text.Proper
Capitalizes the first letter of each word.
Syntax
Text.Proper(
text as text,
optional culture as text
) as text
Remarks
Returns the result of capitalizing only the first letter of each word in text value text
. All other letters are returned in lowercase. An optional culture
may also be provided (for example, "en-US").
Examples
Example #1
Use <code>Text.Proper</code> on a simple sentence.
Text.Proper("the QUICK BrOWn fOx jUmPs oVER tHe LAzy DoG")
Result:
"The Quick Brown Fox Jumps Over The Lazy Dog"
Category
Text.Transformations