Change text to uppercase or lowercase
This article explains how to convert strings that contain letters to uppercase or lowercase.
Implement by copying and pasting
Section titled “Implement by copying and pasting”As a sample, this article uses a scenario that generates a random string and converts it to both uppercase and lowercase.
Copy the following code and paste it into the Power Automate Desktop flow designer to add the actions.
Text.Random UseUpperCaseLetters: True UseLowerCaseLetters: True UseDigits: False UseSymbols: False MinimumLength: 10 MaximumLength: 10 RandomText=> RandomTextText.ChangeCase Text: RandomText NewCase: Text.CaseOption.UpperCase Result=> UpperCaseText.ChangeCase Text: RandomText NewCase: Text.CaseOption.LowerCase Result=> LowerCaseImplement in Power Automate Desktop
Section titled “Implement in Power Automate Desktop”-
In “Search actions”, type “Change text case” and set the parameters as follows.
Parameter Value Text to convert The text data to convert Convert to Choose from “Upper case”, “Lower case”, “Title case”, or “Sentence case” -
When you run the flow, a variable is set with the text converted to uppercase or lowercase according to the options you specified.