Brother International TD-4520TN FBPL Command Reference - Page 169
LEN, Description, Syntax, Example, Sample Code, Result, See Also
![]() |
View all Brother International TD-4520TN manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 169 highlights
10.37 LEN() Description Return the length of a string. Syntax LEN(string) Parameter string Description The string whose length is to be measured. Example Sample Code DOWNLOAD "DEMO.BAS" SIZE 4,1 GAP 0,0 DIRECTION 1 A$="ABCDEFGHIJKLMNOPQRSTUVWXYZ" B=LEN(A$) CLS TEXT 10,10, "3",0,1,1,A$ TEXT 10,50, "3",0,1,1,"STRING LENGTH=" +STR$(B) PRINT 1 EOP DEMO Result See Also DOWNLOAD, EOP, END, LEFT$(), LEN(), RIGHT$(), MID$(), STR$(), VAL() 164
![](/manual_guide/products/brother-international-td4420tn-fbpl-command-reference-a4fb318/169.png)
164
10.37 LEN()
Description
Return the length of a string.
Syntax
LEN(string)
Parameter
Description
string
The string whose length is to be measured.
Example
Sample Code
DOWNLOAD "DEMO.BAS"
SIZE 4,1
GAP 0,0
DIRECTION 1
A$="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
B=LEN(A$)
CLS
TEXT 10,10, "3",0,1,1,A$
TEXT 10,50, "3",0,1,1,"STRING LENGTH="
+STR$(B)
PRINT 1
EOP
DEMO
Result
See Also
DOWNLOAD, EOP, END, LEFT$(), LEN(), RIGHT$(), MID$(), STR$(), VAL()