Function Len() Foundation
Determines the length of a character string or an array.
Len( <cString> | <aArray> | <oObject> ) --> nCount
Len() returns an integer numeric value. The function returns zero if the parameter contains no elements.
The Len() function returns the number of elements of the passed parameter. If a character string is passed, each character of a character string is counted, including Chr(0). An empty character string (a null string "") has the length zero.
If an array is passed, Len() determines the number of elements in the first dimension of the array. To determine the total number of array elements in a multi-dimensional array, each subarray must be passed to the function Len() and the return values must be totaled. An empty array has the length zero.
If an object is passed, Len() determines the object's exported instance member variables and returns their count. If the object has no instance member variables or if they are protected or hidden, the function returns zero.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.