![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 4. This function, along with all of the string functions, was deprecated in Flash 5. Macromedia recommends using the methods of the String class and the String.length
property to perform the same operations.
length(expression
)length
(variable
)
expression
A string.
variable
The name of a variable.
The length of the specified string or variable name.
String function; returns the length of the specified string or variable name.
The following example returns the value of the string "Hello"
.
length("Hello");
The result is 5.
" " (string delimiter)
, String class, String.length
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |