String()

Availability

Flash Lite 1.0.

Usage

String(expression)

Operands

expression An expression to convert to a string.

Description

Function; returns a string representation of the specified parameter as described in the following list:

Example

The following example sets birthYearNum to 1976, converts it to a string using the String() function, and then compares it to the string "1976" by using the eq operator.

birthYearNum = 1976;
birthYearStr = String(birthYearNum);
if (birthYearStr eq "1976") {
    trace ("birthYears match");
}