Standard library / unicode

unicode.TitleCase

Case selector for titlecase conversion of one rune. Expected stdout: 'Dž\n'.

Formal Syntax & Structure

go syntaxgo
const TitleCase = 2

Working Example

Example Snippetgo
package main
import (  "fmt"  "unicode")
func main() {  fmt.Println(string(unicode.To(unicode.TitleCase, 'dž')))}
Go Reference