RosettaCodeData/Task/Empty-string/Rascal/empty-string-1.rascal

4 lines
94 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
str s = "";
if (s=="") print("string s is empty");
if (s!="") print("string s is not empty");