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

Remove repeating sentence from string

HI All,

I have a string, pfa the screenshot, I only need the highlighted part because after that the string is repeated, can some one help me

PowerUser0_0-1665510729774.png

 String : AZRAPPS_SK_EN_RightAzure_Ebook_Video Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video Ad_1_LeadForm

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @PowerUser0 

 

Use the split() expression

 

image.png

 

Above expression I used is as follows:

 

first(split(outputs('Compose_2'),'Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video'))
 
Thanks


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

2 REPLIES 2
PowerUser0
Helper V
Helper V

@abm please have a look 

Hi @PowerUser0 

 

Use the split() expression

 

image.png

 

Above expression I used is as follows:

 

first(split(outputs('Compose_2'),'Ad_1_LeadFormAZRAPPS_SK_EN_RightAzure_Ebook_Video'))
 
Thanks


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,678)