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 Automate - Building Flows
Unanswered

Get Int Array from SPLIT()

(0) ShareShare
ReportReport
Posted on by 13

Hi,

 

I'm building a flow where I have I get string of the form "<int> - <int>". I need to extract both integer values into an array. I can use the split function to split on "-" but it returns string array as a result. Currently I have to reiterate the array and convert every index of split output into integer and assign into my int arrray.

 

Is there an easy way to do it which can directly extract numbers as integer array? 

I have the same question (0)
  • Chriddle Profile Picture
    8,319 Super User 2025 Season 2 on at
    Re: Get Int Array from SPLIT()

    Chriddle_0-1714391901585.png

    split('1 - 2', ' - ')
    int(item())

    Chriddle_1-1714391955445.png

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard