Golang unicode.ToTitle() function example
package unicode
Golang unicode.ToTitle() function usage example.
package main
import (
"fmt"
"unicode"
)
func main() {
TitleCaseRune := unicode.ToTitle('a')
fmt.Printf("%+q\n", TitleCaseRune)
}
Reference :
Advertisement
Something interesting
Tutorials
+2.2k Golang : Switch Redis database redis.NewClient
+15.8k Golang : Get number of CPU cores
+19.3k Golang : Convert date string to variants of time.Time type examples
+12.8k Android Studio : Use image as AlertDialog title with custom layout example
+6.7k Golang : How to execute code at certain day, hour and minute?
+16.1k Golang : When to use init() function?
+8.2k Golang : Create unique title slugs example
+22k Find and replace a character in a string in Go
+9.9k Android Studio : Create custom icons for your application example
+17k Golang : Iterating Elements Over A List
+48.7k Golang : Disable security check for HTTPS(SSL) with bad or expired certificate
+6.5k Golang : What fmt.Println() can do and println() cannot do