Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Latest commit

 

History

History
50 lines (45 loc) · 1.34 KB

LEN.org

File metadata and controls

50 lines (45 loc) · 1.34 KB

Top | Up (Array) | < Previous (PAGE NAME) | Next (PAGE NAME) >

LEN

Checks the length of a string or array.
For multidimensional arrays, LEN returns the total number of items in the array. There is no way to find the number of dimensions in an array, or to check the size of a specific dimension.

Syntax

LEN string$ OUT leng​th%
LEN array[] OUT len​gth%

Examples

PRINT LEN("test") '4
DIM A[7]
PRINT LEN(A) '7
DIM B[4,3]
PRINT LEN(B) '12