Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ToTitleSpecial (0.25 sec)

  1. src/bytes/bytes.go

    func ToLowerSpecial(c unicode.SpecialCase, s []byte) []byte {
    	return Map(c.ToLower, s)
    }
    
    // ToTitleSpecial treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their
    // title case, giving priority to the special casing rules.
    func ToTitleSpecial(c unicode.SpecialCase, s []byte) []byte {
    	return Map(c.ToTitle, s)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    	fmt.Printf("%s\n", bytes.ToTitle([]byte("хлеб")))
    	// Output:
    	// LOUD NOISES
    	// ХЛЕБ
    }
    
    func ExampleToTitleSpecial() {
    	str := []byte("ahoj vývojári golang")
    	totitle := bytes.ToTitleSpecial(unicode.AzeriCase, str)
    	fmt.Println("Original : " + string(str))
    	fmt.Println("ToTitle : " + string(totitle))
    	// Output:
    	// Original : ahoj vývojári golang
    	// ToTitle : AHOJ VÝVOJÁRİ GOLANG
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. api/go1.txt

    pkg bytes, func Title([]uint8) []uint8
    pkg bytes, func ToLower([]uint8) []uint8
    pkg bytes, func ToLowerSpecial(unicode.SpecialCase, []uint8) []uint8
    pkg bytes, func ToTitle([]uint8) []uint8
    pkg bytes, func ToTitleSpecial(unicode.SpecialCase, []uint8) []uint8
    pkg bytes, func ToUpper([]uint8) []uint8
    pkg bytes, func ToUpperSpecial(unicode.SpecialCase, []uint8) []uint8
    pkg bytes, func Trim([]uint8, string) []uint8
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top