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

Splitting on the last incidence of a delimiter

How do you split on the last incidence of a delimiter? Specifically, I am looking to extract the email from this string.

 

 

i:0#.f|membership|username@address.edu

 

 

Thank you,

Anne

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User
Super User

@annetoal 

You'll want to use the last() expression which will give you the last item in the array created by split().  See my example below:

image.pngimage.png

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

2 REPLIES 2
ScottShearer
Super User
Super User

@annetoal 

You'll want to use the last() expression which will give you the last item in the array created by split().  See my example below:

image.pngimage.png

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Thank you very much, @ScottShearer .

 

Anne

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,442)