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

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
Community Support

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!

Learn more from my blog
Jethrooooo12
Frequent Visitor

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
Frequent Visitor

Re: Split Name and LastName

@abm 

 

Scratch it. I got it resolved.

 

Thanks!

Community Support
Community Support

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

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

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!

sixthImage

Community Summit North America

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

Top Solution Authors
Users online (9,312)