Len
The Len internal function returns the number of characters in variable A$.
Comments and Examples
00010 LET A$ = "red" 00020 LET B$ = "white " 00030 LET C$ = "blue" 00040 PRINT LEN(A$);LEN(B$);LEN(C$)
Line 40 will print the numbers 3, 6 and 4.
The Len internal function returns the number of characters in variable A$.
00010 LET A$ = "red" 00020 LET B$ = "white " 00030 LET C$ = "blue" 00040 PRINT LEN(A$);LEN(B$);LEN(C$)
Line 40 will print the numbers 3, 6 and 4.