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

trim String

(0) ShareShare
ReportReport
Posted on by

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 315 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 273 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 117 Super User 2026 Season 1

Last 30 days Overall leaderboard