1 - I have this text in a compose
APPLE
BANANA
ORANGE
2 - I want get this list in a json output.
[
"APPLE",
"BANANA",
"ORANGE"
]
Solved! Go to Solution.
Hi @JonyLima
I use a 3 compose approach to solve this.
First i have a compose with your text
Second a compose to save the "Wrap" char
inside this i have this expression
decodeUriComponent('%0A')
Third another compose to split
inside this i have this expression
split(outputs('Text'),outputs('Decode'))
The result is below:
Gustavo Moraes, o astronauta brasileiro do Flow!
Hi @JonyLima
You will need to split by new line character
Check this sample Flow which does exactly this
https://github.com/rdorrani/Microsoft-Flow/blob/master/FetchstringfromSampletext_20190925204900.zip
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Hi @JonyLima
I use a 3 compose approach to solve this.
First i have a compose with your text
Second a compose to save the "Wrap" char
inside this i have this expression
decodeUriComponent('%0A')
Third another compose to split
inside this i have this expression
split(outputs('Text'),outputs('Decode'))
The result is below:
Gustavo Moraes, o astronauta brasileiro do Flow!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
21 | |
18 | |
11 | |
10 | |
8 |
User | Count |
---|---|
31 | |
27 | |
25 | |
17 | |
16 |