Len: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
LEN(<string>$)
The '''Len'''(string$) [[internal function]] returns the number of characters in variable string$.
The '''Len'''(string$) [[internal function]] returns the number of characters in variable string$.



Revision as of 23:53, 21 May 2014

LEN(<string>$)

The Len(string$) internal function returns the number of characters in variable string$.

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.

Related Functions