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

is it possible to nest the substitute function? i'd like to do something like this:

textinputfield: "Please substitute aaa for bbb."

textoutputcalc: "Please substitute apples for oranges."

i could do this with two calc fields like this:

textoutput1 = Substitute(textinput, "aaa", "apples")

textoutput2 = Substitute(textoutput1, "bbb", "oranges")

but that seems not particularly elegant, especially since each additional substitution would require an additional calc field.

A nested Substitute function is as follows:

Substitute(Substitute(text, search string, replace string), search string, replace string)

There is a limit to the number of nested substitutions, the limit depends on the version you use. Either way, if you hit the limit you can split the calculation between two or more calculation fields exactly the way you proposed in your first post.

25 nested substitutes should be safe.

just make sure you dont substitute anythin twice, aka

substitute(fsubstitute(field,"xxx";"grappler");"apple";"trash")

  • Author

thanks everyone - glad it can be done!

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.