Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExampleQuoteRuneToGraphic (0.27 sec)

  1. src/strconv/example_test.go

    	fmt.Println(s)
    
    	// Output:
    	// '☺'
    }
    
    func ExampleQuoteRuneToASCII() {
    	s := strconv.QuoteRuneToASCII('☺')
    	fmt.Println(s)
    
    	// Output:
    	// '\u263a'
    }
    
    func ExampleQuoteRuneToGraphic() {
    	s := strconv.QuoteRuneToGraphic('☺')
    	fmt.Println(s)
    
    	s = strconv.QuoteRuneToGraphic('\u263a')
    	fmt.Println(s)
    
    	s = strconv.QuoteRuneToGraphic('\u000a')
    	fmt.Println(s)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 22:57:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top