Empty string: Difference between revisions

Content deleted Content added
Langurmonkey (talk | contribs)
removed langur language example for now
J7M (talk | contribs)
Add SmallBASIC
Line 596:
u$ = "not empty"
IsEmpty (u$)</syntaxhighlight>
 
==={{header|SmallBASIC}}===
empty(s) returns true if s is empty.
<syntaxhighlight lang="qbasic">
s1 = ""
s2 = "abc"
print empty(s1)
print empty(s2)
</syntaxhighlight>
 
==={{header|True BASIC}}===