Jump to content
Sign in to follow this  
smeshy123

Getting rid of the first letter in field on condition

Recommended Posts

I'm trying to get rid of the first letter in a certain field, but only if that letter is a -. I have 4000 entries so I can't do it by hand. Anyone know the kind of calculation I could write to do this?

Thanks,

Smeshy

Share this post


Link to post
Share on other sites

Try:

Right ( Yourfield ; Length ( Yourfield ) - ( Left ( Yourfield ; 1 ) = "-" ) )

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.