Jump to content
Sign in to follow this  
Jonathan Smith

using trim to remove last name

Recommended Posts

this is probably one of the most basic questions i can ask, but how do i trim all characters after the space in between first and last name..?

Share this post


Link to post
Share on other sites

Are you asking how you get just the first name?

This can be an issue as are there cases where the first name has two words such as Billy Bob and also where the last name can have two words two such as Von Buren.

It is better if you seperate them out to two different fields.

If none of these situations existed though, you could use leftwords (), or position () to get what you want.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.