Empty string: Difference between revisions
Content added Content deleted
Line 641: | Line 641: | ||
=={{header|Maple}}== |
=={{header|Maple}}== |
||
<lang Maple> |
|||
s := ""; # Create an empty string |
s := ""; # Create an empty string |
||
evalb(s = ""); # test if the string is empty |
evalb(s = ""); # test if the string is empty |
||
evalb(s <> ""); # test if the string is not empty |
evalb(s <> ""); # test if the string is not empty |
||
</lang> |
|||
=={{header|Mathematica}}== |
=={{header|Mathematica}}== |