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 / Trim text at line break
Power Automate
Unanswered

Trim text at line break

(0) ShareShare
ReportReport
Posted on by 2
Hi.
I have a text containing line breaks:
 
some text
what i want
some more text
 
How can i tell the trim text function to cut the text inbetween the two line breaks and give me "what i want" as a result?
 
I found the solution %' '% for "space", but i did not find anything for a line break ( something like \n or br )
 
Categories:
  • abc 123 Profile Picture
    789 Moderator on at
    In PowerApps there is the Char() function, which can be used to make line breaks. Char(10) or Char(13). I don't know if Flows has this option, or maybe a ye' olde Ascii() function.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard