Jump to content
  • 0

Split a string up from one column to 2 columns (First Name, Last Name)


Is it possible to have a full name go into a table and then split First name and Last name into their own columns?  Example: John Doe goes into one column but then John is put into another column and Doe goes into another.  


Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @Josh1425,

You can use this Formula to get the first name:

left([@field:Name], charindex(' ', [@field:Name])-1)

This on the last name:

right([@field:Name], (len([@field:Name])-charindex(' ', [@field:Name])))


Only problem I see here is if the User has Second name, the formula will just get the first part split by the space. And then the Last name will be considered all the string after the first name.

I hope this helps.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...