RosettaCodeData/Task/Empty-string/Phix/empty-string.phix

10 lines
242 B
Plaintext

string s
s = "" -- assign an empty string
if length(s)=0 then -- string is empty
if s="" then -- string is empty
if length(s)!=0 then -- string is not empty
if s!="" then -- string is not empty