Length

Syntax

	$string.length()

Description

Specifies the number of characters in the string string.

Parameters

Name Type Description Mandatory Default
string String String whose length is to be calculated. yes

Return value

Type: Number

The number of characters in string.

Examples

	length("Hello world!")

Output: 12