Empty string: Difference between revisions

Content added Content deleted
(Add Haskell entry.)
Line 185: Line 185:
System.out.println("s is not empty");
System.out.println("s is not empty");
}</lang>
}</lang>


=={{header|Mathematica}}==
<lang Mathematica>
str=""; (*Create*)
str==="" (*test empty*)
str=!="" (*test not empty*)
</lang>

=={{header|Nemerle}}==
=={{header|Nemerle}}==
Assign an empty string:
Assign an empty string: