Anonymous user
Empty string: Difference between revisions
→{{header|Euphoria}}: Euphoria example added
m (promoted to task) |
(→{{header|Euphoria}}: Euphoria example added) |
||
Line 69:
return s is "";
}</lang>
=={{header|Euphoria}}==
<lang euphoria>sequence s
-- assign an empty string
s = ""
-- another way to assign an empty string
s = {} -- "" and {} are equivalent
if not length(s) then
-- string is empty
end if
if length(s) then
-- string is not empty
end if</lang>
=={{header|Icon}} and {{header|Unicon}}==
|