String Expressions can be used for variables of type “Expression” and as parameters for some rule predicates and actions.
String Expressions may be one of the following:
$someVar
"ABC"
subString($someVar, "BB")
"AA$someVar"
In some cases it is required to surround an embedded expression with curly brackets to get parsed properly, e.g. "{$someVar}BB"
. This way, it is also possible to embed function calls, e.g., "AA{subString($someText, "BB")}"
Numeric Expressions can be used for variables of type "Expression", and as parameters to functions, rule predicates & actions. Similar to String Expressions it may contain of the following:
$someVar
, where the variable contains a number or a number string"3"
3
abs($someVar)
"3$someVar"