quote_replace_string_special_characters_.htm
Navigation: Templates > Template Language Reference > Built-in Template Procedures >====== QUOTE (template - replace string special characters) ====== | |
QUOTE( symbol )
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
quote_replace_string_special_characters_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1