len
Top  Previous  Next

val = len(expr)

Returns the number of characters in a string.

Parameters

expr  
 
Any expression. If not string, converted to string.  

Example

 
a = len(123)
' Returns 3.
a = len("Hello")
' Returns 5.