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
+9.4k Golang : Timeout example
+11k Golang : Replace a parameter's value inside a configuration file example
+5.7k Linux/Unix/PHP : Restart PHP-FPM
+5.9k Facebook : How to force facebook to scrape latest URL link data?
+15.6k Golang : Force download file example
+51.4k Golang : Check if item is in slice/array
+13.9k Golang : convert(cast) string to float value
+8k Findstr command the Grep equivalent for Windows
+14k Golang : Fix cannot use buffer (type bytes.Buffer) as type io.Writer(Write method has pointer receiver) error
+14.7k Golang : Reset buffer example
+5.4k Unix/Linux/MacOSx : How to remove an environment variable ?
+6.5k Golang : Combine slices of complex numbers and operation example