bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
LEN Function Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
LEN returns the number of characters in a string constant or string
expression, or the number of bytes required by a variable.
 
LEN(stringexpression$)
  or
LEN(variable)
 
Usage Notes
    ■ The first syntax returns the number of characters in stringexpression$.
    ■ The second syntax returns the number of bytes required by a
      BASIC variable. This syntax is particularly useful for determining
      the correct record size of a random-access file.