String.length

Availability

Flash Player 5.

Usage

my_str.length

Description

Property; a nonzero-based integer specifying the number of characters in the specified String object.

Because all string indexes are zero-based, the index of the last character for any string x is x.length - 1.