Home / lang / len 
Len
Syntax
iLength = Len ( sArg AS String ) AS Integer

Returns the byte count which is occupied by the String sArg. Each ASCII character which has the code 0 to 127 requires one byte, UTF-8 characters as äöüß require two or more bytes.

Example
PRINT Len("Gambas"), Len("äöü")

6 6
Example
PRINT Len("")
0


See also
String Functions