ToUpper in Go

Posted by GoDoc
Public (Editable by Users)

ToUpper returns s with all Unicode letters mapped to their upper case.

Go
Edit
package main

import (
	"fmt"
	"strings"
)

func main() {
	fmt.Println(strings.ToUpper("Gopher"))
}