Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6425 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a field that has 2-3 characters followed by a hypen that I need to remove. The result needs to be the remaining text. The problem for me is because of the varying number of characters.

For ex: V1-John Smith

I want returned as: John Smith

and V25-Bill Jones returned as: Bill Jones

Thanks in advance for any help.

Posted

Here's the same thing written slightly differently:

Let ( 

  [ name = your::field ; 

    dash = Position ( name ; "-" ; 1 ; 1 ) ; 

    chars = Length ( name ) - dash ] ;

  Right ( name ; chars )

 )

Posted

Man, I just can't post fast enough today!

Posted

I know what you mean, I posted the same calculation as comment, only to discover he had beat me by a few seconds. Oh well, I probably stole it from him in the first place. LOL

Lee

This topic is 6425 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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