RosettaCodeData/Task/Empty-string/Euphoria/empty-string.euphoria

16 lines
228 B
Plaintext

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