Len: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
m (moved Len to LEN)
No edit summary
Line 1: Line 1:
The '''Len''' [[internal function]] returns the number of characters in variable A$.
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 11:


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


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

Revision as of 19:49, 26 January 2012

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