javascript String length
| length | NN 2 IE 3 ECMA 1 |
| Read-only | |
|
Provides a count of the number of characters in the string. String values dynamically change their lengths if new values are assigned to them or if other strings are concatenated. |
|
| Example | |
for (var i = 0; i < myString.length; i++) {
...
}
|
|
| Value | |
Integer. |
|
Previous: javascript String prototype
1770,Nickname,Homepage or email,Comments here,Add comment
