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.

Substitute Question

Featured Replies

Hi all,

How do I substitute text strings that are _not_ part of a larger text string. For example, if I want to substitute all the 'ark's within a text field with 'arrak' -- I want to make sure the substitution only works on the word 'ark' - but not on for example: 'bark'. In short:

bla ark bla ;) should become : bla arrak bla

bla ark, bla : should become : bla arrak, bla

BUT

bla bark bla : should become : bla bark bla

I have a feeling this is not difficult -- but I am hitting a wall and figured I'd throw this out there.

Thanks,

The Substitute function respects spaces. So

Substitute ( field, " ark ", " arrak ")

The glitch is if you have sentences with " ark." or " ark?" or " ark," etc., ":", "!".

In which case you just have to nest Substitutes:

Substitute (Substitute (Substitute ( field, " ark ", "arrak"), " ark.", " arrak."), " ark,", " arrak,")

You can use globals for the parameters, so one script will do any word:

_gFind

_gRepace

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.