Remote Processing CAMBASIC User Manual

Page 102

Advertising
background image

Comm ands - 69

LEN

Numeric Fun ction

SYNTAX:

n = L E N (m$)

PURPOSE:

To return the number of characters in m$.

REMARK S:

Unprintable and blank characters are counted.

RELATED:

LEFT$, MID$, RIGHT$, INSTR

EXAMPLE:

10 A$ = "Short string"
20 PRINT LEN(A$)
RUN
12

ERROR:

none

Advertising