DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
strings.Compare()
Examples using...
strings.Compare()
Recent
Examples
Compare in Go
by GoDoc
Go
strings.Compare
fmt.Println
fmt
strings
Compare returns an integer comparing two strings lexicographically. The result will be 0 if a==b, -1 if a < b, and +1 if a > b.
Strings and Text
Compare Strings
Compare Strings in Go
by yhuang
Go
strings.Compare
fmt.Println
fmt
strings