Jump to content

String length: Difference between revisions

→‎{{header|BASIC}}: Added ANSI BASIC.
(+Stringle)
(→‎{{header|BASIC}}: Added ANSI BASIC.)
Line 585:
<syntaxhighlight lang="qbasic"> INPUT a$
PRINT LEN(a$)</syntaxhighlight>
 
==={{header|ANSI BASIC}}===
The ANSI BASIC needs line numbers.
<syntaxhighlight lang="basic">
10 INPUT A$
20 PRINT LEN(A$)
</syntaxhighlight>
 
==={{header|Applesoft BASIC}}===
512

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.