This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Literal Expressions are used to specify operations which give a result consisting of a piece of text (made up of a string of characters). They may include literal operators and logical expressions.
They are used in the specification of:
Literal expressions are used to specify the pieces of text. The result is a piece of text.
Expression type |
Example |
Explanation |
|---|---|---|
A valid derived literal or analysis expression |
Date:" bought ":Item "{Date} bought {Item}" |
To create a text string made up of the text value of Date, followed by " bought ", followed by the text value of Item |
Filter value for analysis |
Item@"dog">0 |
To find all cases in which "dog" is included in Item |
Character extraction |
Item@3 |
To find the character at position 3 in the text contained in the Item variable |
|
See Also |