Empty string: Difference between revisions
→{{header|Phix}}
No edit summary |
|||
Line 996:
Unlike in Perl 5, only empty strings test as false - the string "0" tests as true now.
=={{header|Phix}}==
<lang euphoria>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</lang>
=={{header|PHP}}==
|