Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 499 Bytes

length.adoc

File metadata and controls

34 lines (27 loc) · 499 Bytes

length()

Important

Deprecated in 5.0.

Replaced with method length() of the string instance.

length(string) => Integer

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.

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