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.

How can I compare text with certain characters?

Featured Replies

Hi there!

Can give me an help about a problem that i'm having? I hope so. I need to make a comparison between values of text type (for example 13" ). When I'm writing the code in the script, and try to insert the value to make the comparison, an error is generated. For example:

IF (<FieldName> = "13"")

The values are: 13", 14", ... (a proprety of a Monitor)

Can anyone explain me how to solve this problem?

Thanks a lot...

FileMaker Version: 6

Platform: Mac OS X Jaguar

When using a quote mark in a text string, you have to add another quote mark. Not very intuitive, and in fact this has changed in FileMaker 7. Anyway, your statement would look like this:

IF (<FieldName> = "13""")

Another option would be to use TextToNum(fieldname) = 13 so you could just ignore the quote mark.

Personally, I probably would just make that field a number field in the first place, and not include the inch/quote mark as part of the data -- it's the number that matters here.

I just realized this was a cross-posted question. Please don't do that, it wastes everyone's time.

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.