Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
LENS Function (DataBasic) (m618703+lens_f.htm)
Returns the lengths of the elements in a dynamic array.
LENS(dynArray)
dynArray A DataBasic expression that evaluates to a dynamic array.
A dynamic array with the same structure as dynArray, but with each element replaced by its length in characters.
ARY = "John":@AM:"Paul":@AM:"George":@AM:"Ringo":@AM:27.2 NEWARY = LENS(ARY)
Sets NEWARY to "4AM4AM6AM5AM4".