Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExampleTo (0.08 sec)

  1. src/unicode/example_test.go

    	fmt.Printf("%#U\n", unicode.SimpleFold('1'))      // '1'
    
    	// Output:
    	// U+0061 'a'
    	// U+0041 'A'
    	// U+006B 'k'
    	// U+212A 'K'
    	// U+004B 'K'
    	// U+0031 '1'
    }
    
    func ExampleTo() {
    	const lcG = 'g'
    	fmt.Printf("%#U\n", unicode.To(unicode.UpperCase, lcG))
    	fmt.Printf("%#U\n", unicode.To(unicode.LowerCase, lcG))
    	fmt.Printf("%#U\n", unicode.To(unicode.TitleCase, lcG))
    
    	const ucG = 'G'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 00:18:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
Back to top