| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Built-in Template Procedures >====== QUOTE (template - replace string special characters){{c6h0068.jpg|C6H0068.jpg}} ====== | [[linkname return mangled procedure name .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[registered return template registration .htm|{{btn_next_n.gif|Next page}}]] | | || **QUOTE(** //symbol// ) {{blk2blue.jpg|blk2blue.jpg}} | **QUOTE** | Expands the //symbol's //string data, "doubling up" single quotes ('), and all un-paired left angle brackets (<;) and left curly braces ({) to prevent compiler errors. | | //symbol// | The symbol containing the properties to parse. | The **QUOTE **procedure returns the string contained in the symbol with all single quotes ('), un-paired left angle brackets (<;), and un-paired left curly braces ({) "doubled up" to prevent compiler errors. This allows the user to enter string constants containing apostrophes, and filter expressions containing less than signs (<;) without requiring that they enter two of each. **Return Data Type:**     STRING **Example:** **#PROMPT('Filter Expression',@S255),%FilterExpression** **#SET(%ValueConstruct,****QUOTE****(%FilterExpression))  #!Expand single quotes and angle brackets** **See Also:     **[[unquote remove string special characters .htm|UNQUOTE]] [[built in template procedures.htm|Built-In Template Procedures]]