Empty string: Difference between revisions
Content added Content deleted
Childishbeat (talk | contribs) m (Quite BASIC example added, R edited out of Python and no line between the R header and the language syntax definer) |
|||
Line 2,030: | Line 2,030: | ||
print("String is empty") |
print("String is empty") |
||
else: |
else: |
||
print("String not empty") |
print("String not empty")</lang> |
||
=={{header| |
=={{header|QuiteBASIC}}== |
||
<lang QuiteBASIC>10 let s="" |
|||
20 if s="" then let o="" |
|||
30 if s<>"" then let o="not " |
|||
40 print "The string is ";o;"empty."</lang> |
|||
=={{header|R}}== |
|||
<lang R>s <- '' |
<lang R>s <- '' |
||