Empty string: Difference between revisions

Content added Content deleted
(removed langur language example for now)
(Add SmallBASIC)
 
Line 596: Line 596:
u$ = "not empty"
u$ = "not empty"
IsEmpty (u$)</syntaxhighlight>
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}}===
==={{header|True BASIC}}===