Anonymous user
Empty string: Difference between revisions
m
→{{header|I}}
No edit summary |
m (→{{header|I}}) |
||
Line 768:
=={{header|I}}==
<lang i>software {
// Can either compare the string to an empty string or
// test if the length is zero.
if s = "" or #s = 0
print("Empty string!")
end
if s
print("Not an empty string!")
end
}
=={{header|Icon}} and {{header|Unicon}}==
|