web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / LowerCase first letter...
Power Automate
Answered

LowerCase first letter in each sentence in paragraph power automate

(0) ShareShare
ReportReport
Posted on by 433

Hello Power users,

 

Let's say I have a paragraph as

 

"Each template is designed for a specific purpose. For example, there are templates for sending you a text message when your boss emails you, adding Twitter leads to Dynamics 365, or backing up your files. These templates are just the tip of the iceberg. They're intended to inspire you to create customized flows for the exact processes you need.Need help please"

 

And I would like to have first letter in each sentence to be lowered like 

 

"each template is designed for a specific purpose. for example, there are templates for sending you a text message when your boss emails you, adding Twitter leads to Dynamics 365, or backing up your files. these templates are just the tip of the iceberg. they're intended to inspire you to create customized flows for the exact processes you need.need help please"

 

Is there a possible way to achieve this. Can anyone please help me?

 

Thank you so much in advance!

Categories:
I have the same question (0)
  • Luis Arellano Profile Picture
    247 on at

    Hello,

     

    This is a strange requirement but here is my attempt at this.

    Consider that there will be some things that will break it like having more than 1 space at the beginning of a sentence.

     

    Create avariable where you will get the final text.

    In this case I am calling it 'finalText'

     

    Compose action to separate the sentences, assuming you have the text in a variable called "text"

    @{split(variables('text'),'.')}

    LuisArellano_0-1686981308181.png

     

    Apply to each using the outputs from the compose action

    @{outputs('Compose')}

     

    Compose action to now separate each work

    @{split(item(), ' ')}

    LuisArellano_1-1686981356195.png

     

    Condition to check if it starts with a space

    outputs('wordSplit')[0]

    LuisArellano_2-1686981366482.png

     

     

    If yes (note that there is a space at the beginning, this is intended for formatting)

     @{toLower(outputs('wordSplit')[1])} @{join(skip(outputs('wordSplit'),2),' ')}.

     

    If no

    @{toLower(outputs('wordSplit')[0])} @{join(skip(outputs('wordSplit'),1),' ')}.

    LuisArellano_3-1686981458707.png

     

     

  • Verified answer
    Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    Hello  @KrishR ,

     

    as @LuisArellano already said this is really a strange requirment. Please tell me where you need something like this. It looks like homework from school to me 😉

     

    If you don't care about the possibility to have more than one space at the beginning of a sentence (olso mentioned by @LuisArellano ) this would work too.

     

    Matthy79_0-1686993081974.png

     

    if(startsWith(item(), ' '), concat(toLower(take(item(), 2)), skip(item(), 2)), concat(tolower(take(item(), 1)), skip(item(), 1)))
     
    After that you can use join to put the paragraph together again.
  • VictorIvanidze Profile Picture
    13,079 on at

    For what? Why do you need such illogical text transformation?

  • KrishR Profile Picture
    433 on at

    Hi @AlexEncodian , @VictorIvanidze , @Matthy79 and @LuisArellano ,

     

    Thank you so much for all your help in this. I do have a drop down with multiple(multiple text) values to select which has the Sentence starts with Capital letter. These selected options are used in Microsoft word doc generation and they would be used as reasons in a sentence which needs to be lower cased at the beginning of each sentence.

     

    I'm not sure if there is any other way, thought there would be a possibility this way and wanted to check. 

     

    Thank you so much once again for all your help 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 612

#2
Valantis Profile Picture

Valantis 344

#3
11manish Profile Picture

11manish 326

Last 30 days Overall leaderboard