Empty string: Difference between revisions

Content added Content deleted
(Rust entry)
(Added NESL)
Line 916: Line 916:
<lang Nemerle>a_string == ""; a_string != 0;
<lang Nemerle>a_string == ""; a_string != 0;
a_string.Length == 0; a_string.Length > 0;</lang>
a_string.Length == 0; a_string.Length > 0;</lang>

=={{header|NESL}}==
<lang nesl>my_empty_string = "";

% To make sure it is empty, we can ask whether its length is equal to zero. %

#my_empty_string == 0;</lang>
{{out}}
<pre>my_empty_string = "" : [char]

it = T : bool</pre>


=={{header|NetRexx}}==
=={{header|NetRexx}}==