Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trim(Left) Whole Words

Featured Replies

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...

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.

Divine

  • Author

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!

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.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.