Quote
Purpose
Returns the text form of text enclosed in quotation marks.
Format
Quote(text)
Parameters
Data type returned
text
Originated in
FileMaker Pro 7.0
Description
This function protects text from being evaluated by the Evaluate function. Special characters within text are escaped appropriately.
Examples
Quote ( "hello" ) returns "hello".
Quote ( "abc\¶" ) returns "abc\¶".
Quote ( "say \"hello\" fred" ) returns "say \"hello\" fred".
Evaluate ( Quote ( "1 + 2" ) ) returns 1 + 2.
Evaluate ( "1 + 2&" & Quote ( " - 1 + 2" ) ) returns 3 - 1 + 2.
Related topics