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.

Finding text with quotes

Featured Replies

How can you search for text that contains the inches symbol (") using the Perform Find script step? I have a field that stores items that are measured in inches and my users don't like the idea of having to enter "inches" instead of just the inch symbol.

"

into the search criteria

  • Author

Thanks for the reply. My problem is that I am using the Perform Find script step and using a variable for my search criteria, something like:

table:fieldname = $variable

It is not possible to use the escape character when your search criteria is a variable. Any thoughts?

You can suffix the variable with the escape character by concactenating it as raybaudi indicated:

table:fieldname = $variable & "" & """ or

table:fieldname = $variable & """

Note that the backslash character itself is escaped so the above suffixes with "

  • Author

Sorry, but I think I may not be making myself very clear. Here's my issue.

My script sets a variable to a field value, which can contain the a quote (") somewhere within the text field. The quote is used to designate inches. It could look something like the following:

Pillow 10" to 20" Feather Down

I then take this variable and use it in the Perform Find script step. My problem is that whenever the original text field contains the inch symbol (as the one above does) my search comes up empty. Since the variable contains the inch symbol it doesn't ever match any of the field values.

Any ideas on how to get around this?

How about:

Set Variable [ $var ; Value: Substitute ( table:fieldname ; """ ; """ ) ]

Perform Find [ Restore ] <-- criteria: original text field = $var

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.