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.

Parsing text Data from Field

Featured Replies

Hi Guys, once again thank you for a great resource.

This will be simple for you guru's :) I am get text put into a result field and want to pull out certain data. Here is the result:

Messaging Services provide delivery enhancement tools you can apply to your messaging applications at the toggle of a button. Examples include sending messages over long code (10-digit number) when short code messages fail, and automatically distributing high volumes of messages over multiple numbers to ensure speedy, successful delivery.", "status": "queued", "num_segments": "3", "num_media": "0", "direction": "outbound-api", "api_version": "2010-04-01", "price": null, "price_unit": "USD", "error_code": null, "error_message": null, 

I would like to pull out the "error_code" which is null in the example, also the "num_segments" and "error_message"

Thank you in advance... Ron

Edited by Lee Smith
Removed Align center

Your question is not entirely clear. Assuming your text field contains all the text starting with "Messaging Services" and ending with "null,", you can extract the value attached to the "error_code" label using =

Let ( [
label = "\"error_code\": " ;
start = Position ( Textfield ; label ; 1 ; 1 ) + Length ( label ) ;
end = Position ( Textfield ; "," ; start ; 1 )
] ;
Middle ( Textfield ; start ; end - start )
)

--
P.S. Please do not align your post to the center, it makes it very difficult to read.

  • Author

Sorry about the alignment and was default and didn't realise I could change it :( Thank you for your response...

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.