Function Len() Foundation
Determines the length of a character string or an array.
Len( <cString> | <aArray> ) --> nCount
Len() returns an integer numeric value corresponding to the length of a character string or the number of elements in an array. For an empty array or a null string (""), zero is returned.
Len() is a character function and an array function which determines the length of a character string or an array. 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 totaled.
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.