cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
Highlighted
Super User III
Super User III

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

Power Automate Video Tutorials
Highlighted
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.

Highlighted
Frequent Visitor

Re: Split Name and LastName

@abm 

 

Scratch it. I got it resolved.

 

Thanks!

Highlighted
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
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (6,129)