cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Split a variable to multiple lines

Hi, 

 

I have the information that I get from Flow and I set it as a variable varFlow. varFlow returns a string flowapprovers from Flow.

 

so the information can be retreived using varFlow.flowapprovers. It returns {"a":"apple","b":"banana","o":"orange"}.

 

Now I want to split this so it is more readable., like this:

 

a: apple

b: banana

o: orange

 

When I try to use Split(Text(varFlow.flowapprovers),","), it gave me an error saying Expected Text Value.

How to fix this? Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi @lavint 

If you want to display the result in a label, something like this should work better for you.

 

Concat(Split(Text(varFlow.flowapprovers),","), 
Result & Char(13)
)

View solution in original post

2 REPLIES 2
Super User III
Super User III

Hi @lavint 

If you want to display the result in a label, something like this should work better for you.

 

Concat(Split(Text(varFlow.flowapprovers),","), 
Result & Char(13)
)

View solution in original post

Hi @timl ,

 

It works perfectly! Thank you!

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,529)