dim a as byte
dim s as string
s = "hallo"
'With objective functions of variables
a = s.len
if s.len = 5 then
  'mache was
end if
'direct access to the memoryblock, first Byte is the length
a = s.ByteValue(0)
if s.ByteValue(0) = 5 then
  'do whatever
end if
'with Luna-commands
a = len(s)
if len(s) = 5 then
  'do whatever
end if