Len()

Returns the current number of characters in a string.

Syntax: Number = Len(Expression)

Example:

  dim a as byte  
  dim s as string
 
  s = "Hello World"
  a = Len(s)          ' output: 11