Jump 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.

Featured Replies

Hi, I'm new to filemaker and i need some help please.

how can i use "," as delimiter so that I can get records each containing a string.

ie: ab, bc, cd ....

result : ab

bc

cd

...

Thank you !

  • Author

but the substitute command is used to replace a string with another one?? how can i use it to split a string with a "," as delimiter??

Ah. But you can replace just one character with another using Substitute() as well, as Barbara is suggesting.

Try:

TrimAll ( Substitute ( yourfield ; "," ; ¶ ) ; 1 ; 3 )

The TrimAll() is used to remove all spaces.

Thanks LaRetta. Sorry, zeina, I should have posted a more complete answer for you. Substitute works within FM to convert strings.

Is your source file comma-delimited, and you are looking to import this into FM? If so, use Import Records or drag the file onto the FM program icon.

  • Author

I was trying to use a global variable that contains concatenated values separated by a comma. so I need to split this variable to get the values separately.

Why is the $$var populated with commas in the first place, then? That raises a red flag to me.

Edited by Guest

  • Author

because I needed to separate the values with something other then spaces.

Separate them with carriage returns as you populate the $$var:

Set $$var = $$var & "¶" & "newvalue"

If I knew more about your script, I might suggest an even better way, such as just use

$$var = List (relationship::myField)

which puts them into the $$var return-delimited.

  • Author

okk great 10x alot Laretta and barbara

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

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.