length Property (String) (Windows Scripting - JScript)

 

Returns the length of a String object.

Syntax

strVariable.length
"String Literal".length 

Remarks

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.

Requirements

Version 1

Applies To: String Object (Windows Scripting - JScript)

See Also

length Property (Array) (Windows Scripting - JScript)
length Property (Function) (Windows Scripting - JScript)