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 4913 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I wish to Trim Left leaving whole words only for a field that has a character limit of 62 characters.

I don't want to have whole words cut off because of the character limitation, for instance: Dog Cat Horse Du should come up with Dog Cat Horse even though it is less than the character limit, I need the complete word.

I am using just the simple Left(field) and it is working fine, it would just be nice to have complete words as incomplete words don't help anyone...

Posted

Try =

Let ( [

words = WordCount ( Left ( text ; 62 ) ) ;

over = Length ( LeftWords ( text ; words ) ) > 62 

] ;

LeftWords ( text ; words - over )

)

---

Note: Trim() is a Filemaker function, unrelated to the problem.

Posted

Wow, that worked great! Thanks again!

Is this a pretty common function for FM? It seems that all the pieces are there to make it work and I was just un-aware? Is there some dump of info where I could school myself up some FileMaker calculation skills?

Thanks!

Posted

It seems that all the pieces are there to make it work and I was just un-aware?

Yes, that's how it works. You get mostly very basic functions, and it's up to you to figure out how to put them together to do what you need.

Is there some dump of info where I could school myself up some FileMaker calculation skills?

You should read the help on each function at least once.

This topic is 4913 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.