func TrimSpace(s string) string
package main import ( "fmt" "strings" ) func main() { fmt.Println(strings.TrimSpace(" \t\n Hello, Gophers \n\t\r\n")) } // Output: Hello, Gophers