RosettaCodeData/Task/Empty-string/QB64/empty-string.qb64

10 lines
206 B
Plaintext

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"