Len: Difference between revisions

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


====Comments and Examples====
====Comments and Examples====
  00010 LET A$ = "red"
  00010 LET A$ = "red"
  00020 LET B$ = "white "
  00020 LET B$ = "white "
Line 10: Line 13:


====Related Functions====
====Related Functions====
*[[Srch]]
*[[Srch]]
*[[Pos]]
*[[Pos]]


<noinclude>
<noinclude>
[[Category:Internal Functions]]
[[Category:Internal Functions]]
</noinclude>
</noinclude>

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