String

A string value comprises one or more Unicode characters (letters, numbers, and punctuation characters). The simplest string expression is a string literal (a constant). You can include a string literal in your expressions by enclosing the string characters in single quotation marks, for example:

'This is a string value.'


The string above is returned as:

This is a string value.


If you need to include single quotation marks as part of the string, simply enter 2 single quotations. For example:

'Don''t'


The string above is returned as:

Don't

To indicate a string literal in an expression, enclose it within single quotation marks ' '. Do not use double quotation marks " " as these are for indicating tags.

Instead of a string literal, you might use a more complicated expression (in order to perform some sort of calculation in order to produce the string). For example, to calculate the string that is returned by calling the FORMATVAL function.


Disclaimer

Geo SCADA Expert 2020