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 : koP6hl16+BI23usK+j1Mx9
Power Automate - Building Flows
Answered

Convert Array

Like (0) ShareShare
ReportReport
Posted on 12 May 2022 09:19:19 by 18

Hi, I have following Array

[
 "T223566^T335125^T311000^",
 "Testing1^Testing2^Testing^",
 "First^;^Third^",
 ";^tomorrow^3-D^"
]

And by spltting the list by "^" i want this array as following with

[
 {
 "Row1": "T223566",
 "Row2": "Testing1",
 "Row3": "First",
 "Row4": ";"
 },
 {
 "Row1": "T335125",
 "Row2": "Testing2",
 "Row3": ";",
 "Row4": "tomorrow"
 },
 {
 "Row1": "T311000",
 "Row2": "Testing",
 "Row3": "Third",
 "Row4": "3-D"
 }
]

 

How do i do this??

/Erik

I have the same question (0)
  • Verified answer
    erikgran Profile Picture
    18 on 13 May 2022 at 07:38:43
    Re: Convert Array

    Thank you eliotcole!

    Thanks to your input "(I'd imagine that Select actions with a range() function in there will come in to it)" I was able to make it work2022-05-13 09_34_52-Edit your flow _ Power Automate.png

  • eliotcole Profile Picture
    4,266 Moderator on 12 May 2022 at 10:49:49
    Re: Convert Array

    I see, thanks.

    I don't have time to look at this now, but if no-one else has had a pop (I'd imagine that Select actions with a range() function in there will come in to it) I'll try tonight.

  • erikgran Profile Picture
    18 on 12 May 2022 at 10:47:26
    Re: Convert Array

    Row1, Row2, Row3 and Row4 are always static. I will always have input by set of 4 values.

    But I would like the "set" of values to be dynamic.
    Another Example 

    [
     "T331992^T344899^",
     "Example1^Example2^",
     ";^;^",
     "Today^tomorrow^"
    ]

     

    [
     {
     "Row1": "T331992",
     "Row2": "Example1",
     "Row3": ";",
     "Row4": "Today"
     },
     {
     "Row1": "T344899",
     "Row2": "Example2",
     "Row3": ";",
     "Row4": "tomorrow"
     }
    ]

     

  • eliotcole Profile Picture
    4,266 Moderator on 12 May 2022 at 10:39:37
    Re: Convert Array

    Do you only need to do this once? Or will this be a programmatical approach to future, similar, values?

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…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2