This is a feature which is just listed here without examples. It allows to insert a expand a substring based on the derivation of a condition.
{IFTHENELSE(predicate,thenstring,elsestring}
The `predicate' can be one of
{GREATER(expr1,expr2)}{LOWER(expr1,expr2)}{EQUAL(expr1,expr2)}{AND(expr1,expr2)}{OR(expr1,expr2)}{ISFIRSTFRAME()}{ISLASTFRAME()}
Example: {GREATER({this.salary},10000)}.
Note that the arguments may also contain expressions.
The predicate {ISFIRSTFRAME()} is true, when ConceptBase starts with processing
answer frames. It is false, when the first frame has been processed. The predicate {ISlASTFRAME()}
is true when ConceptBase starts with processing the last answer frame for a given query. Otherwise,
it is false.