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.

Extract first line of text

Featured Replies

I feel really dim... but I can't figure out how to extract the first line of a text field. The lines are separated with proper line breaks.

I know I have to use the PatternCount and Let function, and somehow define a start and end point with the ¶.

Anyone?

Try:

GetValue ( Textfield ; 1 )

  • Author

That totally worked!

The simplicity amazes me... thank you.

  • Author

Actually, there seems to be a problem with this approach.

With GetValue (field; 1), the resulting variable contains the entire first row of the text (visible in data viewer), but when I use the variable to set a field in another table... only the first word of the first line appears.

??

What could that be?

Unfortunately, forum's attachments are not working at the moment, so I cannot see what you tried to show us.

  • Author

Never mind... it's my own stupidity.

The field I was inserting the text was a date field. The first value of the line of text was a date - so that's all it inserted.

Duh!

Thank you for your help, comment!

Edited by Guest

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.