length(expression)length(variable)
Deprecated since Flash Player 5. This function, along with all the string functions, has been deprecated. Adobe recommends that you use the methods of the String class and the String.length property to perform the same operations.
Returns the length of the specified string or variable.
expression:String - A string.
variable:Object - The name of a variable.
Number - The length of the specified string or variable.
The following example returns the length of the string "Hello": length("Hello"); The result is 5.
" string delimiter operator, String, length (String.length property)