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

4 lines
94 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
str s = "";
if (s=="") print("string s is empty");
if (s!="") print("string s is not empty");