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.

Escaping Characters (Double Quotes)

Featured Replies

  • Newbies

I'm trying to eliminate the quotes " (double) in a text field by writing a formula that searches for them and does a substitute.

Here's the problem:

Substitute(short_description, "*"*", "")

Obviously that won't work.

Any clues?

TIA!!

-zack

What if you created a global text field an placed a double-quote in it in browse mode. Say it's called gDouble_Quote. Then the substitution would be

Substitute(short_description, gDouble_Quote, "")

Chuck

quote:

Originally posted by zackfc:

I'm trying to eliminate the quotes " (double) in a text field by writing a formula that searches for them and does a substitute.

Here's the problem:

Substitute(short_description, "*"*", "")

HMM, unless anyone knows how to insert a " into a formula without FMP thinking it is the closing delimiter, I am not sure this can be done.

This is one of those problems like trying to find a way to use reserved words in a programming language.

You could try using a field reference instead. Put the " into a global text field, then structure your substitute with that field.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

  • Author
  • Newbies

Hey thanks!

. . . it worked . . . mostly . . .

It removed the first pair of quotes, but if the field contained more than 2, the extras remain:

Example:

8 x 8

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.