Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 3x5WJGaz4LN76i9VWc7CX+
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

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

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started