I have string have value "[113] this is testing string". i need to convert it "this is testing string". I tried compose action with substring using Indexof. But unfortunately it doesn't work for me. Any help woulf be appreciated 🙂
Solved! Go to Solution.
Hi @Harry_G,
I have made a test on my side, please refer to screenshot below to create the flow:
The expression in the Compose 2 as below:
substring(outputs('Compose'),6,22)
And you could also enter the expression below in the Compose 2:
last(split(outputs('Compose'),'[113] '))
The flow would run successfully as below:
Best regards,
Alice
Hi @Harry_G,
I have made a test on my side, please refer to screenshot below to create the flow:
The expression in the Compose 2 as below:
substring(outputs('Compose'),6,22)
And you could also enter the expression below in the Compose 2:
last(split(outputs('Compose'),'[113] '))
The flow would run successfully as below:
Best regards,
Alice
How would you go about this if you wanted the values between << and >>
i.e. <<just this text>> would return just this text
First(Split(Last(Split("<<just this text>>", "<<")), ">>")), which will first extract "just this text>>" and then "just this text".
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
12 | |
11 | |
7 | |
7 | |
6 |
User | Count |
---|---|
18 | |
17 | |
12 | |
10 | |
9 |