|
Contains the length of a String object.
strVariable.length
"String Literal".length
The length property contains an integer that indicates the number of characters in the String object. The last character in the String object has an index of length - 1.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.