MAXLEN
The MAXLEN function returns the maximum length of a string expression, in
characters. The maximum length is determined by the DIM statement or the
system default.
Syntax
MAXLEN(S$)
Parameters
S$ A string expression whose maximum length is to be
returned.
Examples
10 DIM A$[30]
20 B = MAXLEN(A$) !B = 30