Flash Lite 2.x and 3.0 ActionScript Language Reference

add concatenation (strings) operator

string1 add string2

Deprecated since Flash Player 5. Adobe recommends you use the addition (+) operator when creating content for Flash Player 5 or later.

Note: Flash Lite 2.0 also deprecates the add operator in favor of the addition (+) operator.

Concatenates two or more strings. The add (+) operator replaces the Flash 4 & operator; Flash Player 4 files that use the & operator are automatically converted to use the add (+) operator for string concatenation when brought into the Flash 5 or later authoring environment. You must use the add (+) operator to concatenate strings if you are creating content for Flash Player 4 or earlier versions of the Flash Player.

Operands

string1 : String - A string.

string2 : String - A string.

Returns

String - The concatenated string.

See also

+ addition operator