cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Gopi2212
Level: Powered On

Extract specific text

Hi, I need an expression to get the result between commas in my string. Below is the expectation.

 

My StringNeeded Result
Risk Category,Rating,Default Rate assigned (as of PY)Rating
Minimal Default Risk,0.1,0.008%0.1
Minimal Default Risk,1.1,0.020%1.1
1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Extract specific text

Hey @Gopi2212 

Here you go: split(<string goes here>,',')[1]

1.png

This expression splits the string into an array and returns the second item in the array:

 

3.png

 

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up

 

View solution in original post

1 REPLY 1
Super User
Super User

Re: Extract specific text

Hey @Gopi2212 

Here you go: split(<string goes here>,',')[1]

1.png

This expression splits the string into an array and returns the second item in the array:

 

3.png

 

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up

 

View solution in original post

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,483)