LEN
 
Syntax


LEN( string )

Description


This returns the length of string in characters.String may be a constant or variable string.

String functions may not be nested.

Example

DIM text$(10) as STRING
  
text = "0x"+HEX(4096) 
PRINT LEN(text)     ' will display 6 
   

Differences from other BASICs

See also