Document Templates : Data-types and Expressions : Expressions : String Expressions

String Expressions

String literals are written within apostrophes, for example: ’ABC’

Spaces within literal strings are always considered. For example,
‘A BC ’ is different from ‘ABC’. String literals may contain formatting characters using the backslash character (\) character:

\n: inserts a new line in the string.
\t: inserts a tab in the string.
\: the backslash, when followed by any other character, includes that character literally into the string. This is not intended for use with alphanumeric characters but for including special characters in the string - especially \ and .

String expressions may include string constants, string variables, and functions that return strings.

Concatenation of strings is supported; it is indicated by the “+” sign. For example: ’str1’ + ’abc’ results in ’str1abc’.