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.

I thought it was simple, finding quotes

Featured Replies

Hello all,

as the subject said, I thought it would be simple but...

I have a field that I imported from excel. The values of these are, for some reason in quotes. They need to be removed.

I would like to ultimatly do a find, to get all the records that have a double quote. Then do a replace to remove the double quotes.

First I tried puting just a double quote, then

putting the double quote in double quotes,

then putting the double quote in single quotes,

then putting a single quote in double quotes ( I was getting desperate at this point)

So I must ask the experts!

tia

Jerry

Do a replace (on a backup!) using the Replace with calculkated result option, where the calculated result would be:

Substitute(textfield, """")

Note the doubled double-quote marks, it's not a typo.

Woops! shocked.gif" border="0

quote:

Originally posted by Vaughan:

Substitute(textfield, """")

I think you'll need to finish the function:

Substitute(textfield, """","")

Or as an alternative, assuming no other non-indexible characters at the beginning or end of the data in each field:

= LeftWords(textfield, 9999)

Good luck

Quite right! Substitute(textfield, """", "")

  • Author

Thanks a bunch to all of you. The Substitute command worked fine. I did a replace over the whole dataset. You solved my imediate problem or removing the double quotes.

However just to cover all the bases, we didn't get to the question.

How do I find fields with a double quote in them? That still dosesn't work!

Jerry

Hi Jerry,

A find on *"""" (shift-8 followed by four double quotes) should find a field with double quotes.

Note however that double quotes are different characters than "smart quotes" (the curly variety of quotes). My recommendation would be to eliminate all smart quotes from your FileMaker diet -- they're basically evil. wink.gif" border="0

First, turn off the smart quotes in your document preferences. Then if you already have them in your field data, use Substitute() to replace them with regular quotes.

In future, import your file as tab delimited rather than comma delimited. That should prevent all the quotes in the first place.

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.