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.

Quoting html code in FileMaker (and getting around the special characters)

Featured Replies

Maybe this is an easy one but I'm trying my darndest to pull in some source code from a website into my FileMaker database. I think I've found a way to get just the code I need but I'm running into a quoting issue. I want search the source code for this particular text:

As you can imagine, Quote(

) just gives me a bunch of errors. I'm not exactly a pro at using the Quote function, and if there's a way around it that would be fine too. But I'm pulling my hair out. I need to find a way to use that code as my search criteria in a Position function, such as

Position(getlayoutobjectattribute("HDSupplyViewer"; "content"); "

"; 1; 1)

Obviously the above example does not work. Can anyone help me out?

Thanks in advance.

Try:


Position ( text ; "" ; 1 ; 1 )

  • Author

Thank you. It worked like a charm. So I guess in that example it is only the " that need to be escaped. I was escaping everything that wasn't alphanumeric. I am a bit of an escapist I suppose.

You cannot use Quote() to escape literal text; Quote ( "text that needs escaping" ) will result in error because the text literal cannot be resolved. You can, however, put the text in a field and use Quote ( field ).

Another option is:


Position ( Substitute ( text ; """ ; "'" ) ; "" ; 1 ; 1 )

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.