mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
parent
12206f64dd
commit
c1767dbdda
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue