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.

Text string conversion.

Featured Replies

Hi everybody,

I am trying to find a way to work this into my script.

I have a search field. (Text)

When I type "Test 1"(notice that there are many spaces), I am trying to convert my text string to just "Test 1". Or when I type "Test 1 2", I hope to convert the text string to "Test 12".

At first I though I could use the Trim function but apparently it didn't seem to work. Hope someone can help.

Thanks.

TrimAll ( text ; 0 ; 0 )

will convert "Test 1" to "Test 1". I don't quite see the logic behind:

Or when I type "Test 1 2", I hope to convert the text string to "Test 12".

  • Author

Thanks so much. Will give it a try. Actually what I am trying to do is I have set up a input field. I am trying to anticipate that the user when inputing the name of a company(which is the field the user may include extra space and when this happens company name "Test 1" will be different form company name "Test 1" when they are actually the same company and may cause duplicates in records. Maybe there could be a better method but I am still pretty new to FM and database. Hope my explanation make sense. :)

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.