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

Split Name and LastName

Hi,

 

I am trying to split the first and Lastname from data I parsed from email/outlook to have a separate column on Sharepoint.

 

I can get the first name just fine. My problem is the LastName. Any idea?

 

 

Flow.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Split Name and LastName

 

Hi @Jethrooooo12 ,

 

Please do like this:

85.PNG

Expression reference:

split(variables('LastName'),' ')[1]

 

Best Regards, 

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Super User
Super User

Re: Split Name and LastName

First try to get the full name. Then use the split with spaces to get firstname and lastname.



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!



Highlighted
Jethrooooo12
Level: Powered On

Re: Split Name and LastName

Hi @abm 

 

Just kinda confused here now. How do you split using the spaces?

 

Thank you for responding to my query.

Jethrooooo12
Level: Powered On

Re: Split Name and LastName

@abm 

 

Scratch it. I got it resolved.

 

Thanks!

Community Support Team
Community Support Team

Re: Split Name and LastName

 

Hi @Jethrooooo12 ,

 

Please do like this:

85.PNG

Expression reference:

split(variables('LastName'),' ')[1]

 

Best Regards, 

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,790)