Home / lang / len 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
fr  de  es  it  nl  pl  pt  pt_BR  mk  ca  ar  fa  vi  ja  ru  zh  zh_TW  eo 
Documentation
History
 
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.

Examples

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

6 6
PRINT Len("")
0

See also

String Functions