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 ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user