Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. 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)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top