Right Function

  • Thread starter Thread starter MJOHNSON
  • Start date Start date
M

MJOHNSON

I have a field that contains a first and a last name.
How do I pull out just the last name from the field. I
think I can do it using the Right Function, but I am not
quite sure how to do this. Please advise.
 
I have a field that contains a first and a last name.
How do I pull out just the last name from the field. I
think I can do it using the Right Function, but I am not
quite sure how to do this. Please advise.

If ALL of data in the field is similar to
FirstName LastName
i.e. a single space between them,
Use:

LastName:Mid([FullName],InStr([FullName]," ")+1)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top