func Trim(s, cutset string) string
package main import ( "fmt" "strings" ) func main() { fmt.Print(strings.Trim("¡¡¡Hello, Gophers!!!", "!¡")) } // Output: // Hello, Gophers