Go strings Package ContainsAny()
ContainsAny()
package main //w w w . j a va 2 s . c om import ( "fmt" "strings" ) func main() { fmt.Println(strings.ContainsAny("CSS", "C")) fmt.Println(strings.ContainsAny("css", "C")) }