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 / Getting a string on th...
Power Automate
Answered

Getting a string on the team message that starting with a letter "x" to "y"

(0) ShareShare
ReportReport
Posted on by 13

Hi everyone,

I'm trying to get some words on the content body of the team message. After that, I add these words to the subject of the email.

These words start from "[" to "]".

Example: add_[EX_thisisatest] with some symbols
    => The result: I can get "EX_thisisatest" string on the team message.

 

I'm looking around but there is no clue to do it.

Any help will be greatly appreciated 😊.

 

JokerD_1-1680692553611.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @JokerD ,

     

    Based on your description, I have made a simple test for your reference.

     

    This is message for test:

    vzhoqianmsft_0-1680761147424.png

    We can follow the idea of the following image.

    First, separate the text with "[", then remove the first item. The result is array1.

    Then, by applying to each, we can separate each item in array1 with "]" and retain the first element. The result is array2.

    Finally, concatenate array2 into string of subject by the join() function.

    vzhoqianmsft_1-1680761656245.png

    This is my flow:

    vzhoqianmsft_5-1680762278820.png

    vzhoqianmsft_2-1680761890606.png

    vzhoqianmsft_3-1680761993976.png

     

    Result:

    vzhoqianmsft_4-1680762054247.png

     

     

    Best Regards,

    Community Support Team _ habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

     

     

  • JokerD Profile Picture
    13 on at

    Thank you for your help.

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard