Any sequence of alphabetic and numeric characters and punctuation. If the string appears within double quotes, the new-line character is not allowed. See the string parameter description in each language construct for restrictions when used with the language construct.
Strings in quotes (""), can contain any character except the new-line character. If the string is in brackets, ({ %}), it can contain any character including the new-line character. For example,
%define multiline = { first line second line %}
To specify double quotes inside a quoted string, use two pairs of double quotes. A string used as function argument or as term in a comparison expression can contain double quotes. For example, if you define a string value as:
%DEFINE result = " ""Hello world!"" "
The value of result is:
"Hello world!"
An HTML statement is a string.
Strings used as function arguments, terms, and variable values can contain variable references and function calls. In the following example, the function call myfunc2 has a string parameter that contains a variable reference and a function call.
%html(report) { @myfunc2("abc$(var1)@myfunc()") %}
Net.Data resolves the variable reference $(var1) and the function call @myfunc(), rather than interpreting them literally as part of the string, before passing the string to the function myfunc2.