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.
PRINT Len("Gambas"), Len("äöü") <hr>6 6
PRINT Len("") 0