Anonymous user
Empty string: Difference between revisions
no edit summary
No edit summary |
|||
Line 190:
There are other ways, such as a zero return from the <tt>LEN(s$)</tt> or <tt>ULEN(utf$)</tt> functions. <tt>EQUAL(s$, "")</tt> would be another way.
==={{header|IS-BASIC}}===
<lang IS-BASIC>10 LET A$=""
20 IF A$="" THEN PRINT "The string is empty."
30 IF A$<>"" THEN PRINT "The string is not empty."</lang>
=={{header|Batch File}}==
|