Empty string: Difference between revisions

Go explanation
(→‎{{header|Euphoria}}: Euphoria example added)
(Go explanation)
Line 86:
-- string is not empty
end if</lang>
=={{header|Go}}==
Go has no special syntax for empty strings
<lang go>// assign empty string to a variable
s = ""
 
// check that string is empty
s == ""
 
// check that string is not empty
s > ""</lang>
 
=={{header|Icon}} and {{header|Unicon}}==
1,707

edits