Empty string: Difference between revisions
Content added Content deleted
(Ruby: Let the regular expressions work when string contains newlines "\n".) |
|||
Line 86: | Line 86: | ||
Is b not empty ? 1 |
Is b not empty ? 1 |
||
</pre> |
</pre> |
||
=={{header|BASIC}}== |
|||
<lang basic>10 LET A$="" |
|||
20 IF A$="" THEN PRINT "THE STRING IS EMPTY" |
|||
30 IF A$<>"" THEN PRINT "THE STRING IS NOT EMPTY" |
|||
40 END</lang> |
|||
=={{header|BBC BASIC}}== |
=={{header|BBC BASIC}}== |