mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
parent
61809cd182
commit
9c9754409d
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ func Repeat(b []byte, count int) []byte {
|
|||
// ToUpper returns a copy of the byte array s with all Unicode letters mapped to their upper case.
|
||||
func ToUpper(s []byte) []byte { return Map(unicode.ToUpper, s) }
|
||||
|
||||
// ToUpper returns a copy of the byte array s with all Unicode letters mapped to their lower case.
|
||||
// ToLower returns a copy of the byte array s with all Unicode letters mapped to their lower case.
|
||||
func ToLower(s []byte) []byte { return Map(unicode.ToLower, s) }
|
||||
|
||||
// ToTitle returns a copy of the byte array s with all Unicode letters mapped to their title case.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue