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.
FileMaker 2026 Released

Processing a text field

Featured Replies

  • Newbies

Hello

French user uneder FMPro Adv 18 I have a text field listing product quantities delivered by suppliers identified by their IDs (e.g., 20kg delivered by SOC258, 14kg by SOC87), with each entry separated by a line break.For some reason, there are several lines showing a delivery of 0 from certain suppliers;

20 of SOC258

14 of SOC87

0 of SOC34

0 of SOC456

I would like to remove these lines.

Thanks for your advices

You could use a looping script or the While() function to go over each value and test the first character or word. The script option could also split the passed entries into individual records in a related table, with separate fields for quantity and product ID, as one would expect in a relational database.

Alternatively you could use the following expression* to filter out the 0 entries:

FilterValues ( YourField ; Substitute ( ¶ & YourField ; "¶0" ; ¶ ) )

--
(*) based on a brilliant idea by Agnes Barouh

Create an account or sign in to comment

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.