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 Platform Community / Forums / Power Automate / Get Int Array from SPL...
Power Automate
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? 

Categories:
  • Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard