This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

length()

Deprecated in 5.0.

Replaced with attribute length of the string instance.

length(string): int

Returns the length of string.

Table 1. Parameters

string

String

The string to determine its length.

Return

Length of the string passed to the function.

println(length("abcd")); // Will print "4"