string.length

Get a String's length.

Signature

<String>.length: Number

Description

Returns the calling String's length.

The length of an empty String is 0.

Return value

Type Description

Int

Number of characters in the calling String.

Examples

Get the length of a String:

"HTTP/1.1 200 OK".length
15
\