JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

String.length Property

Name

String.length Property---the length of a string

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

string.length

Description

The String.length property is an 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.

See Also

"String"


Previous Home Next
String.lastIndexOf() Book Index String.link()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell