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 / Trouble with the "spli...
Power Automate
Suggested Answer

Trouble with the "split" function.

(0) ShareShare
ReportReport
Posted on by 12
I am very new to Power Automate and was tasked with building flows to extract certain values from an email into an Excel workbook.
 
I was able to get the body of the email extracted however the results returned are as shown below
  "APPLICANT",
  "Item",
  "Value",
  "Applicant First Name",
  "FName",
  "Applicant Last Name",
  "LASTNAME",
  "Named Insured Email Address",
  "name@company.com",
  "Applicant Phone Number",
  "+1 (xxx) xxx-xxxx",
 
The issue is I need to split certain values to eventually add to excel, and the syntax I used is (I believe the " is the issue)
last(split(outputs('SplitBodyText')[9],'"')), found a video on youtube to get this process but in their example they had a different delimiter in their output.
I have tried different variations and also tried the "\" to escape the double quotes. I just do not have the knowledge how to proceed.
 
I also tried to replace function to remove the ", no luck either and also tried to replace them with ' also no luck.
 
If someone has any suggestions it would be appreciated.
Categories:
I have the same question (0)
  • Suggested answer
    Infamous_Let Profile Picture
    332 Super User 2026 Season 1 on at
    split(replace(outputs('Get_Email_Body'), '"', ''), ',')[8]
    
    This should removes the quotes ("), Splits the string by commas and Gets the 9th item (index 8) which is the email.

    test it in a compose action and change the index as needed 
  • LR-11071431-0 Profile Picture
    12 on at
    Thank you for your suggestion, it did unfortunately did not work. I have never used Power Automate and learning as I go as this was tasked to me. I have a screenshot of the flow I found online to accomplish this, but have to alter it a little due to the html to text output difference. Hopefully this will add a little more context. If there is another way to accomplish this I will gladly tack to a different approach. Thank you everyone.
     
     
    Split(Body('Html_to_text'),outputs('EnterKey'))
     
    split(replace(outputs('SplitBodyText'), '"'''), ',')[8]
     
     
  • Suggested answer
    LR-11071431-0 Profile Picture
    12 on at
    I was able to figure it out once I saw how it handles double quotes.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard