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() with "(" as se...
Power Automate
Unanswered

split() with "(" as separator

(1) ShareShare
ReportReport
Posted on by 5
Hello,
I'm trying to use a special character as delimiter in split() function. Specifically, I try to use the parentheses ")" as delimiter.
 
I've been looking for an escape character, so they're not recognized as syntax, with no luck.
 
This is the exact code with the delimiter marked. I've tried quoting it as with space (which works) but it does throw an error regarding the lack of arguments parsed to the function.
 
trim(split(split(split(triggerBody()?['subject'],'machine: ')[1],' ')[0]),')')[0])
 
 

Im using the function to match a cell used as key in an Excel column to update a timestamp in the matched row. It works correctly using another delimiter for test purposes.
 
Is it possible to use this character as delimiter? Or is there a workaround to achieve the same objective? I cannot change the mail Subject.

Thank you
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at
    Looks like your sample text didn't come through.  Want to try again?  Maybe a screenshot?  Please indicate the expected result.
  • PA-11111926-0 Profile Picture
    5 on at
    Hi,
     
    there it goes. An example input would be:
     
    (group: sb_16161)(backup account: SBA-SI428816-ADMIN)(machine: ABKDSRV001)(plan: Remote backup of ABKDSRV001)
     
    And I need to extract the hostname after "machine:  " so the expected output would be:
     
    ABKDSRV001
     
    If there is a better way to extract it I would be really pleased to hear about it.
     
    Many thanks and best regards,
    Paibol.
     

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

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 190

Last 30 days Overall leaderboard