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 / 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:
I have the same question (0)
  • Chriddle Profile Picture
    8,416 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

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