Jump to content

Empty string: Difference between revisions

Add SmallBASIC
(removed langur language example for now)
(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}}===
23

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.