Latest Posts

PowerApps convert first letter of every word to upper case


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

 

Proper(Text)

  • 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.

  1. Add a Label Control:
    • Insert a Label control.
    • Set the Text property of the Label to:

Proper("hello world")

 

This will display "Hello World".

PowerApps Formatting User Input string using Proper() function

Suppose you want to format user input to ensure proper capitalization.

  1. Add a Text Input Control:
    • Insert a Text Input control named UserInput.
    • Set the HintText property to "Enter text".
  2. Add a Label Control to Display the Formatted Text:
    • Insert a Label control.
    • Set the Text property of the Label to:

Proper(UserInput.Text)

 

 

This will display the user input with proper capitalization.


We value your Feedback:

Page URL:

Name:

Email:


Suggestion:

© 2024 Code SharePoint