153 of 318
ZBasic System Library 143 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