fmt.Println(strings.Contains("foobar", "foo")) // true
fmt.Println(strings.Contains("foobar", "baz")) // false
fmt.Println(strings.HasPrefix("foobar", "foo")) // true
fmt.Println(strings.HasPrefix("foobar", "baz")) // false
fmt.Println(strings.HasSuffix("foobar", "bar")) // true
fmt.Println(strings.HasSuffix("foobar", "baz")) // false
ss := []string{"foo", "bar", "bar"}
fmt.Println(strings.Join(ss, ", ")) // foo, bar, baz
fmt.Println(strings.Replace("foobar", "bar", "baz", 1)) // foobaz
s := "foo, bar, bar"
fmt.Println(strings.Split(s, ", ")) // [foo bar baz]
fmt.Println(strings.ToLower("FOOBAR")) // foobar
fmt.Println(strings.ToUpper("foobar")) // FOOBAR
fmt.Println(strings.TrimSpace(" foobar ")) // foobar
More: https://golang.org/pkg/strings/.