QBasic 1.1: LEN Function

Syntax

LEN(stringexpression$)
LEN(variable)

Description / Parameter(s)

stringexpression$ Any string expression.
variable Any nonstring variable.

Example

a$ = "Microsoft QBasic" PRINT LEN(a$)