Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Capitalize first letter in string

Like (0) ShareShare
ReportReport
Posted on 22 Feb 2019 09:32:33 by

Hi I have a Question:

What is the best/simplest way to capitalize the first letter in a string

  • PA_Forum_User Profile Picture
    42 on 25 Apr 2024 at 21:57:11
    Re: Capitalize first letter in string

    This also works!

     

    Thank you for your post!

  • jony_19 Profile Picture
    40 on 16 Dec 2023 at 22:51:59
    Re: Capitalize first letter in string

    I found a much simpler way. 

     

    concat(toUpper(take(<string>, 1)), toLower(skip(<string>, 1)))

     

    https://tomriha.com/making-the-first-character-upper-case-using-power-automate-flow/

     

  • Dunksta Profile Picture
    25 on 28 Feb 2023 at 20:21:48
    Re: Capitalize first letter in string

    You can use Proper() in powerapps but it only converts the text when saving. If like me, you want to see the capitalization happen as the user types, you can use some simple trickery.

     

    1. Add your text field as per normal, but set it's text colour to transparent. We'll call this text field myTextField
    2. Place a Label over the text field, and set it's Text value to Proper(myTextField) function
    3. Set the labels On Select property to SetFocus(myTextField)
    4. Set the Update property of the card, assuming you're using a form, to Proper(myTextField)
  • NPrice99 Profile Picture
    1,292 on 30 Jan 2023 at 14:33:13
    Re: Capitalize first letter in string

    Proper() is not a PowerAutomate string function !

  • TurraWorku Profile Picture
    2 on 12 Apr 2022 at 00:00:40
    Re: Capitalize first letter in string

    Easy way to do it it by power query. Go to transform and select Capitalize Each Words in format tab.

     

    TurraWorku_0-1649721632147.png

     

  • Bram Profile Picture
    8 on 11 Feb 2022 at 21:42:59
    Re: Capitalize first letter in string

    for PowerApps:
    Replace("text", 1, 1, Upper(Left("text"), 1)))

  • umakanta84 Profile Picture
    8 on 19 Jul 2020 at 11:52:52
    Re: Capitalize first letter in string

    There are different ways to make it : 

    if you want to make first letter of a word to Capitalized then you can use Proper.

    ex : Proper("umakanta swain")   output : Umakanta Swain

     

    if you want to Capitalize only first character of the string/sentence then

    ex:  mystring = what is your name umakanta ? Left(mystring,1) & Right(mystring, Len(mystring)-1)

    output : What is your name umakanta ?

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on 22 Feb 2019 at 10:17:32
    Re: Capitalize first letter in string

    alright, after about one hour trial and error I found a solution:

     

    concat(first(toupper('susanne')),substring('susanne',1,sub(length('susanne'),1)))

    If anyone has an easyer solution I would much appreciate it 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 66 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 61

#3
rzaneti Profile Picture

rzaneti 31 Super User 2025 Season 1

Overall leaderboard