String.length |
the length of a string |
Availability
JavaScript 1.0; JScript 1.0, ECMAScript v1
Synopsis
string.length
Description
The String.length
property is a read-only integer that indicates the number of
characters in the specified string. For
any string s, the index of the last
character is
s.length-1. The
length property of a string is not enumerated by a
for/in loop and may not be deleted with the
delete operator.
|