mirror of
https://github.com/golang/go
synced 2024-11-22 09:24:41 -07:00
parent
12206f64dd
commit
c1767dbdda
@ -223,7 +223,7 @@ func Repeat(s string, count int) string {
|
|||||||
// ToUpper returns a copy of the string s with all Unicode letters mapped to their upper case.
|
// ToUpper returns a copy of the string s with all Unicode letters mapped to their upper case.
|
||||||
func ToUpper(s string) string { return Map(unicode.ToUpper, s) }
|
func ToUpper(s string) string { return Map(unicode.ToUpper, s) }
|
||||||
|
|
||||||
// ToUpper returns a copy of the string s with all Unicode letters mapped to their lower case.
|
// ToLower returns a copy of the string s with all Unicode letters mapped to their lower case.
|
||||||
func ToLower(s string) string { return Map(unicode.ToLower, s) }
|
func ToLower(s string) string { return Map(unicode.ToLower, s) }
|
||||||
|
|
||||||
// ToTitle returns a copy of the string s with all Unicode letters mapped to their title case.
|
// ToTitle returns a copy of the string s with all Unicode letters mapped to their title case.
|
||||||
|
Loading…
Reference in New Issue
Block a user