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.

separate data from string

Featured Replies

I have a global field that receives data from another file.

The data in this global field is concatenated.

There are various field data in it and the script I have has

to separate the data. One thing I

First, if the data is concatenated, from another file, then it originally existed separately. The fact that is a global leads one to think that this is a temporary value. So why can't you use the process which set this global to the separate values to also set them as separate values, in other globals?

In other words, rather than trying to pull the data apart, why not also pass the separate values?

If that is not possible, then you are either going to have to figure out what (if anything) allows you to distinguish the separate values when concatenated; or else you're going to have to compare each part of it back to the original values somewhere, to see where to break them.

  • Author

Thanks.

I almost have the solution, but I have some problems.

For the last concatenated value in the string I

You say that the concatenated field has different types of data. It can't. Once it's in one field, it's only 1 type, Text result probably. What is was before doesn't really matter at that point; though it may matter again after you parse it.

Are you saying that TextToDate produces an incorrect date, from what looks exactly like a regular date (on your system)?

I still don't see why all this struggle, why you can't get the values from the original separate fields.

Why don't you post some sample data, along with your calculations (well-labelled). We can't tell otherwise what's going on.

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.