Use Quotation Marks in a Text Computation

From HotDocs Wiki

Jump to: navigation, search

When formatting text in a computation, you may want to include quotation marks within your text. For example, the following text is the result of a computation:

The witness answered, "That is correct."

However, since the entire text must already be enclosed within quotation marks in the computation script, you must use double quotation marks ("") wherever you want quotation marks to appear in the text. For example:

"The witness answered, ""That is correct."""

If the quoted text is answered by a variable, you enclose the variable with quotation marks, as well.

"The witness answered, """ + Text Var + "."""