Syntax
len(variable)
Description
The len() function returns the length of the variable. The variable can be one of string, array, or hash.
Example
a="1234" b=[1,2,3,4,5] c={"foo": 1, "wib": "ble"} println(len(a), " ",len(b), " ", len(c))
len(variable)
The len() function returns the length of the variable. The variable can be one of string, array, or hash.
a="1234" b=[1,2,3,4,5] c={"foo": 1, "wib": "ble"} println(len(a), " ",len(b), " ", len(c))