Navigation bar
  Start Previous page
 155 of 323 
Next page End  

ZBasic System Library
145
ZX Microcontroller Family
Len
Type
Function returning Integer
Invocation
Len(str) 
Parameter
Method
Type
Description
str
ByVal
String
The string of which the length is to be determined.
Discussion
This function returns the length of the given string, in bytes.  Note that the length may be zero.
Example
Dim s as String
Dim i as Integer
s = "Hello, world!"
i = Len(s)
' the result will be 13
Previous page Top Next page