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 Automate
Answered

trim String

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

hello, i would like to ask for help. i have a string of characters however i would like to cut the string to a delimiter.

That is, I want to cut my string to "item".

 

[
  {
    "type": "source",
    "content": "BC "
  },
  {
    "type": "source",
    "content": "B"
  },
  {
    "type": "iso",
    "content": "B"
  },
  {
    "type": "abbrev_11",
    "content": "BB"
  },
  {
    "type": "abb9",
    "content": "BM"
  },
  {
    "type": "item",
    "content": ""
  }
]
How can I do this?
Categories:
I have the same question (0)
  • Verified answer
    HenWang Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Would you please tell us if the provided array in your description is the source, what kind of data do you want to finally get from the flow? 

     

    Is it any item or each item from this array, or you want to receive a specific item from this item?

     

    For example, the sec item of this array is:

    {
        "type": "source",
        "content": "B"
      }
    And if this is the case, you can use expression to get it :  
    variables('variable_name')[1]
    HenWang_0-1681107403623.png

     

    If this is not the case, please show us any example from your side so that we can better understand what do you want for the result.

     

    Best Regards,

    Hen Wang

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard