cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Logic App Split() ? URGENT

Hi,

We are in final testing for a new Product. I need to be able to do the following in Logic App. I need to remove the wellez93 or any other characters after the Products/  (it can be any number of characters):

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: Logic App Split() ? URGENT

Hi!
Try with this expression

 

concat(first(split('https://app-messagingservices-dev.azurewebsites.net/api/v1.0/Products/wellez93','Products/')),'Products/')

 

 

Just need to replace

'https://app-messagingservices-dev.azurewebsites.net/api/v1.0/Products/wellez93'

and add whatever output the URL is currently stored


Hope this helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

3 REPLIES 3
Highlighted
Dual Super User
Dual Super User

Re: Logic App Split() ? URGENT

Hi!
Try with this expression

 

concat(first(split('https://app-messagingservices-dev.azurewebsites.net/api/v1.0/Products/wellez93','Products/')),'Products/')

 

 

Just need to replace

'https://app-messagingservices-dev.azurewebsites.net/api/v1.0/Products/wellez93'

and add whatever output the URL is currently stored


Hope this helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Highlighted
Regular Visitor

Re: Logic App Split() ? URGENT

Wow, that was fast! I had a question in the MSDN Forums for days...

Thanks so much! Let me try it now.

Mike

Highlighted
Regular Visitor

Re: Logic App Split() ? URGENT

I'm totally amazed!! It works!! an I spent hours trying to figure it out 🙂

 

I can't tell you how much I appreciate this!
Thanks!
Mike Kiser

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (6,916)