Empty string: Difference between revisions

m
(Latitude language added)
Line 566:
 
=={{header|Elena}}==
ELENA 3.4.x:
<lang elena>import extensions.;
public program()
{
[
auto s := emptyLiteral.emptyString;
if (s .isEmpty())
[{ console .printLine("'", s, "' is empty") ].};
if (s .isNonempty())
[{ console .printLine("'", s, "' is not empty") ]}
]}</lang>
{{out}}
<pre>
Anonymous user