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.
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')), ' ')
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional