func ToTitle(s string) string
package main
import (
"fmt"
"strings"
)
func main() {
// Compare this example to the Title example.
fmt.Println(strings.ToTitle("her royal highness"))
fmt.Println(strings.ToTitle("loud noises"))
fmt.Println(strings.ToTitle("хлеб"))
}
// Output:
// HER ROYAL HIGHNESS
// LOUD NOISES
// ХЛЕБ