The Lower function in Power Apps is used to convert all characters in a text string to lowercase. This function is particularly useful for standardizing text inputs, such as email addresses, usernames, or any text that needs to be case-insensitive.
PowerApps – Lower() function Syntax
- Text: The text string you want to convert to lowercase.
PowerApps - convert string to lower case
Suppose you want to convert a hardcoded string to lowercase.
- Add a Label Control:
- Insert a Label control.
- Set the Text property of the Label to:
This will display powerapps because the Lower function converts all characters to lowercase.
Suppose you want to convert the text entered by the user in a Text Input control to lowercase.
- 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 Lowercase Text:
- Insert a Label control.
- Set the Text property of the Label to:
This will display the text entered in the UserInput control in lowercase.
PowerApps - Convert Text to Lowercase on Button Click
Suppose you want to convert the text entered by the user to lowercase when a button is clicked and display the result.
- Add a Text Input Control:
- Insert a Text Input control named UserInput.
- Add a Button Control:
- Insert a Button control named ConvertButton.
- Set the Text property of the Button to "Convert to Lowercase".
- Set the OnSelect property of the Button to:
Set(LowercaseText, Lower(UserInput.Text))