length
Availability
Flash Player 4. This function, along with all the string functions, was deprecated in Flash 5.
Macromedia recommends that you use the methods of the String class and the
property to perform the same operations.
Usage
length(expression)
length(variable)
Parameters
A string.
expression
The name of a variable.
variable
Returns
The length of the specified string or variable.
Description
String function; returns the length of the specified string or variable.
Example
The following example returns the length of the string
length("Hello");
The result is 5.
See also
" " (string
delimiter),
String
class,
String.length
:
"Hello"
String.length
length 1085
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?