Siebel eScript Language Reference > Siebel eScript Language Overview > Operators in Siebel eScript >

String Concatenation Operator in Siebel eScript

You can use the + operator to join strings together, or concatenate them. The following line:

var proverb = "A rolling stone " + "gathers no moss.";

creates the variable proverb and assigns it the string "A rolling stone gathers no moss." If you concatenate a string with a number, the number is converted to a string:

var newstring = 4 + "get it";

This bit of code creates newstring as a string variable and assigns it the string "4get it".

Siebel eScript Language Reference