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.

Simple concept, difficult calculation (for me at least)

Featured Replies

Hello all,

I want to separate the data below (which comes from one text field) into ten separate fields within the same record. For instance, "Status" is a field and "Received" would populate it. "Date/Time" is a field and "2/12/2010 4:33:07 PM" would populate it. etc, etc. Any ideas from the text parsing wizards out there would be appreciated. :

Thanks, Eric

Status: Received

Date/Time: 2/12/2010 4:33:07 PM

Speed: 14400 bps

Connection time: 00:36

Pages: 1

Resolution: Normal

Remote ID: 18885551212

Line number: 1

DTMF/DID: 1

Description: Fax received from 18885551212

Will there always be the same 10 lines, in the same order?

And are you really using version 7?

Edited by Guest

  • Author

Yes, same ten lines in same order on each record.... and I am using 7. I know, a little old school.

This will extract the text "Normal" from the 6th line of the text:


Let ( [

t = MiddleValues ( text ; 6 ; 1 ) ; 

start = Position ( t ; ": " ; 1 ; 1 ) + 2 ;

end = Position ( t ; ¶ ; 1 ; 1 ) 

] ;

Middle ( t ; start ;  end - start )

)

To extract the other values, just change the 6 to the desired line number.

  • Author

Worked like a charm. Thanks for the assistance. Very much appreciated.

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.