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 / Split Dynamic Content ...
Power Automate
Unanswered

Split Dynamic Content to string with carriage returns

(0) ShareShare
ReportReport
Posted on by 364

Hi all,

 

I have data in a sharepoint field that looks like this:

 

test1; test2; test3

 

I want to split that out for an email so it appears as

 

test1

test2

test3

 

I've tried using string and split, but it drops it into an array so that it appears like: ["test1", "test2", "test3"] and I can't seem to make it appear without the array characters and on different lines. Can anyone help?

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @EpicTriffid 

     

    Try the below

     

    image.png

     

    Above the first compose step press an enter key then use the replace() expression

     

    replace(outputs('Compose'),';',outputs('Compose_3'))
     
    Finally take the output to your email.
     
    Thanks
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    a63.jpga64.jpg

    replace(outputs('Compose'),';',json('{"NL":"\n"}')?['NL'])

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 780

#2
Valantis Profile Picture

Valantis 668

#3
Haque Profile Picture

Haque 601

Last 30 days Overall leaderboard