- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ToUpperSpecial (0.06 sec)
-
src/bytes/example_test.go
} func ExampleToUpper() { fmt.Printf("%s", bytes.ToUpper([]byte("Gopher"))) // Output: GOPHER } func ExampleToUpperSpecial() { str := []byte("ahoj vývojári golang") totitle := bytes.ToUpperSpecial(unicode.AzeriCase, str) fmt.Println("Original : " + string(str)) fmt.Println("ToUpper : " + string(totitle)) // Output: // Original : ahoj vývojári golang // ToUpper : AHOJ VÝVOJÁRİ GOLANG
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 07 17:22:36 UTC 2024 - 14.9K bytes - Viewed (0) -
src/bytes/bytes.go
func ToTitle(s []byte) []byte { return Map(unicode.ToTitle, s) } // ToUpperSpecial treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their // upper case, giving priority to the special casing rules. func ToUpperSpecial(c unicode.SpecialCase, s []byte) []byte { return Map(c.ToUpper, s) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0)