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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Splitting a String /r/...
Power Automate
Answered

Splitting a String /r/n undetectable

(2) ShareShare
ReportReport
Posted on by 39
hey all
 
 
i tried splitting my strings : the code view for below 
"{
  "type": "Compose",
  "inputs": "@split(trim(outputs('Compose_3')),'\\r\\n')",
  "runAfter": {
    "Compose_3": [
      "Succeeded"
    ]
  },
  "metadata": {
    "operationMetadataId": "d797c4ea-9d56-44ba-88ae-88a540ee3041"
  }
}"
 and the raw output still returns this
 
 "Subject: FW: componenttttttt\r\n\r\n\r\nID\r\ntitle\r\npo\r\nitem\r\nschedukeLine\r\nmaterial\r\nFeedback1\r\nFeedback2\r\n1\r\n2/10/2025\r\n47192918\r\n1\r\n1\r\nSE003480-01\r\nTesting   1\r\nTesting   2\r\n1\r\n2/10/2025\r\n47192918\r\n1\r\n1\r\nSE003480-01\r\nTesting 3\r\nTesting 3\r\n1\r\n2/10/2025\r\n47192918\r\n1\r\n1\r\nSE003480-01\r\nTesting 4\r\nTesting 2\r\n1\r\n2/10/2025\r\n47192918\r\n1\r\n1\r\nSE003480-01\r\nTesting 5\r\nTesting 1"

and how the msg was when it was converted from email
 
ID
title
po
item
schedukeLine
material
Feedback1
Feedback2
1
2/10/2025
47192918
1
1
SE003480-01
Testing 1
Testing 2
1
2/10/2025
47192918
1
1
SE003480-01
Testing 3
Testing 3
1
Categories:
I have the same question (1)
  • Verified answer
    Chriddle Profile Picture
    8,441 Super User 2025 Season 2 on at
    Try this:
    split(outputs('Compose').txt, 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard