Empty string: Difference between revisions

Add QB64
(added Arturo)
(Add QB64)
Line 2,192:
return True
</lang>
 
=={{header|QB64}}==
<lang qbasic>Dim s1 As String 'initialized empty
If Len(s1) = 0 Then Print "Empty"
 
s2$ = ""
If s2$ = "" Then Print "Empty"
 
s3$ = "cat"
If Len(s3$) <> 0 Then Print "Not empty"
If s3$ <> "" Then Print "Still not empty"</lang>
{{out}}
<pre>
Empty
Empty
Not empty
Still not empty
</pre>
 
=={{header|Quackery}}==
1,827

edits