The Proper function in Power Apps is used to convert the first letter of each word in a string to uppercase, and all other letters to lowercase. This function is useful for formatting text, such as names or titles, to ensure they follow proper capitalization rules.
PowerApps – Proper() function Syntax
- Text: The text string that you want to format.
PowerApps Capitalize first letter in string
Suppose you want to format a simple string to have proper capitalization.
- Add a Label Control:
- Insert a Label control.
- Set the Text property of the Label to:
This will display "Hello World".
Suppose you want to format user input to ensure proper capitalization.
- Add a Text Input Control:
- Insert a Text Input control named UserInput.
- Set the HintText property to "Enter text".
- Add a Label Control to Display the Formatted Text:
- Insert a Label control.
- Set the Text property of the Label to:
This will display the user input with proper capitalization.