LENS Function
Returns the lengths of the elements in a dynamic array.
Syntax
LENS(dynArray)
Syntax Elements
dynArray A DataBasic expression that evaluates to a dynamic array.
Return Value
A dynamic array with the same structure as dynArray, but with each element replaced by its length in characters.
Example
ARY = "John":@AM:"Paul":@AM:"George":@AM:"Ringo":@AM:27.2 NEWARY = LENS(ARY)
Sets NEWARY to "4AM4AM6AM5AM4".