Len: Difference between revisions

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


====Comments and Examples====
====Comments and Examples====

Latest revision as of 17:28, 22 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