Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4003 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Super basic question, but I was wondering how to capture single quotation (") marks in variables or calc fields. This is just for display purposes as I'm using FMP as way of simplify a bunch of repetitive cutting and pasting between fields on an online database at work. FMP won't allow me to use the symbol for inches (") and if I cheat and use two single quotes (''), it doesn't display correctly in the work database where I'm pasting the data into. Any help would be greatly appreciated. 

 

Posted

To use a double quotation mark (") in a text literal, you need to use an additional "escape" character so FileMaker knows you mean to include the double quote character, and not trying to end the string. FileMaker uses a backslash prefix for an escape character, so the calculation to output a double quote character would be """ — The first quote character to tell FileMaker you're starting a literal string, the backslash to tell FileMaker that the next character is part of the string, and the last quote character to tell FileMaker you're done writing the string.

  • 7 months later...
Posted

Hi,    looking at my question,, this seems similar, 
Is okay here to  further ask a question regarding same or need to re post new

 

 

my $filePath   C:/User/Rod/DropBox

I think i am having problems with forward slashes using a FileCopy of Scriptmaster

 

My question is..  trying to use a Substitute ($filePath   ; "/"   ; ""  )    getting a error

tried all kinds of combinations.. Subsitute ($filePath   ; "/"   ; """  )     removes / replaces with "

and others.. just errors,  not maybe understanding your answer to Eoneon enough to solve my own thing..

 

Appreciate..

Posted

Since the is used to delimit other reserved characters, you have to precede the literal backslash that you are trying to replace with another backslash as a delimiter:

 

Substitute($filePath; "/"; "")

  • Like 1

This topic is 4003 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.