Scripting in StreamServe > StreamServe scripting language specifics > Escape sequences

Escape sequences
The less-than sign (<) is a reserved character. To use this character in a string, you must either enclose the whole string within escape sequences <[ and ]>, or use the ASCII code for the < character.
Examples
Example 29
$select_2 = "<[Select list.questions from list 
where list.id < ]>" + $num;
If $num=2, this gives the following result:
Select list.questions from list where list.id < 2;
 
Example 30
$select_2 = "Select list.questions from list 
where list.id <3c>" + $num;
If $num=2, this gives the same result as above:
Select list.questions from list where list.id < 2;
 
Example 31
Log (0, "<[Value < 5]>");
 
 
OpenText StreamServe 5.6.2 Updated: 2018-01-26