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

Featured Replies

I feel like I've seen this on here recently, but can't find it.

Can anyone provide a way to filter out null values from a list of values?

"¶¶ABC¶123¶123¶¶¶EFG¶" should return "ABC¶123¶123¶EFG"

Thanks

This is my preferred method:

Substitute ( TrimAll ( Substitute ( listOfValues ;  [ " " ; "§" ] ; [ ¶ ; " " ] ) ; 0 ; 0 ) ; [ " " ; ¶]  ; [ "§" ; " " ] )

One possible way:

Substitute ( TrimAll ( Substitute ( text ; ¶ ; " " ) ; 0 ; 0 ) ; " " ; ¶ )

UPDATE: Actually, the concept came from Comment's mind but the calc is my twist on it ... his was, of course, shorter and sweeter. But the idea is to change the carriage returns (or any character wanted) into spaces. Then remove the extra spaces. Then turn it back into carriage returns.

Edited by Guest
Added update

:blush2: oooops, hi Michael.

  • Author

Thanks guys!

  • 1 month later...

Maybe this is a stupid question, Comment, but I noticed in your sample code that you used three open parentheses and only one close. Why is that? When do close parentheses matter, and when don't they? (Before posting this, I looked in two FMP books and quickly searched FMForums, but at first glance I didn't find an answer.) Thanks!

No, there are three functions used, and three open/close pairs of parentheses.

: Dude! My new eyeglasses are doing more harm than good.

One other, possibly stupid Q, if you don't mind - how did you get your code to display in color like that - is that a post-FMP7 feature?

Thanks again.

It's a forum feature - I have no control over it.

Create an account or sign in to comment

Important Information

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

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.