package main import "fmt" import "strings" func main () { fmt.Println(strings.TrimSuffix("Hello, World!", "World!")) }