RosettaCodeData/Task/Empty-string/Go/empty-string.go

9 lines
125 B
Go

// assign empty string to a variable
s = ""
// check that string is empty
s == ""
// check that string is not empty
s > ""