Manual

125
length
length
Description
Returns the size of the supplied parameter.
Usage
AnyArray length ElementsInt
AnyDict length PairsInt
AnyStr length CharsInt
AnyArray Array. Array object of which to return its length.
ElementsInt Integer. Number of objects in array.
AnyDict Dictionary. Dictionary object of which to return its length.
PairsInt Integer. Number of key + value pairs in dictionary.
AnyStr String. String object of which to return its length.
CharsInt Integer. Number of characters in string.
Comments
In the first variant, the operator returns the number of objects contained in the array. In the second
variant, the operator returns the number of key + value pairs contained in the dictionary. Therefore,
a dictionary will actually contain twice as many objects as the count returned by length. The third
variant returns the number of characters contained in the string.