web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / split and store values...
Power Automate
Unanswered

split and store values in variables

(0) ShareShare
ReportReport
Posted on by 265

I would like to ask for help with this !
I am separating this string by this \

 

176931_\\10.1.1.206\Storage\pdf\1100-LEG\34_17584.pdf

 


I want to get this string 

 

1100-LEG

 

(the number will always be changing, 1100-LEG, 2100-LEG, 4322-LEG) and save it in a variable


elaaadani_0-1619496663842.png

I saved everything in an array, how can I get to the value I need? Thank you very much in advance
Have a great week everyone

Categories:
I have the same question (0)
  • Verified answer
    Mira Ghaly Profile Picture
    11,413 Moderator on at
    Re: split and store values in variables

    @elaaadani 

    Use below expression

     

    ; where you replace outputs('Compose_2') with your variable or compose data operation

    split(outputs('Compose_2'),'\')[5]

     

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard