首页 > lang > len 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
Len
Length = Len ( Arg AS String ) AS Integer

Returns the byte count which is occupied by the string Arg.

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

This function only deal with ASCII strings. To manipulate UTF-8 strings, use the String class.

Example

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

6       6

PRINT Len("")

0

参见

String Functions