Skip to main content

Notifications

Community site session details

Community site session details

Session Id : MHd4RQRB0DpAoJcE4FLBV4
Power Automate - General Discussion
Answered

Unwanted break line in Microsoft Planner

Like (0) ShareShare
ReportReport
Posted on 3 Sep 2023 16:40:19 by 13

I have a flow where I receive responses from Microsoft Forms and create a Microsoft Planner, I'm using variables to store the Microsoft Forms question, the problem I have is when the user does not answer a question in Microsoft Forms in the Planner, there are line break in the notes I wanted to know how I can do it when the variable is empty and the response in Microsoft Forms also does not leave break line in Microsoft Planner, follow the images below to make it clearer what is happening

 

Can anyone give some advice? 

 

Thank you.

 

Screenshot_1.pngplanner.png

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,318 Most Valuable Professional on 04 Sep 2023 at 01:31:17
    Re: Unwanted break line in Microsoft Planner

    You can achieve this a single line, using

    split(MYSTRING, decodeUriComponent('%0D%0A'))

    I can split in the right way my string with \r\n

     

    You can replace them with whitespace to have text in a single row using a join

    Combining the two:

    join(split(MYSTRING, decodeUriComponent('%0D%0A')), ' ')

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Power Automate - General Discussion

#1
stampcoin Profile Picture

stampcoin 23

#2
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#3
Gprior Profile Picture

Gprior 19

Overall leaderboard
Loading started