[Gambas-user] Function Len in gambas2

Charlie Reinl Karl.Reinl at ...9...
Wed Apr 1 22:14:47 CEST 2009


Salut,

am I wrong? but I think thats use for nothing as LEN works actually in
gambas2

from .....gambas2/help/help/lang/len.html

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

See also
String Functions 

for what good that for?

-- 
Amicalment
Charlie





More information about the User mailing list