Jump to content
Sign in to follow this  
bradford

How to remove the last word in a field?

Recommended Posts

Hi.

I have an old address book (.cwk) that clumped the first and last name together. I am hoping to create a new field that trims the last word off of text value in this field so I'm left with everything but the last name. I've tried a few calcs but I can't seem to get this working.

Share this post


Link to post
Share on other sites

Try:

LeftWords ( FullName ; WordCount ( FullName ) - 1 )

Note that some last names can be two or more words.

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.