Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for IsPunct (0.06 seconds)

  1. src/bytes/example_test.go

    	// Output:
    	// 3
    	// 8
    	// -1
    }
    
    func ExampleLastIndexFunc() {
    	fmt.Println(bytes.LastIndexFunc([]byte("go gopher!"), unicode.IsLetter))
    	fmt.Println(bytes.LastIndexFunc([]byte("go gopher!"), unicode.IsPunct))
    	fmt.Println(bytes.LastIndexFunc([]byte("go gopher!"), unicode.IsNumber))
    	// Output:
    	// 8
    	// 9
    	// -1
    }
    
    func ExampleMap() {
    	rot13 := func(r rune) rune {
    		switch {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  2. api/go1.txt

    pkg unicode, func IsMark(int32) bool
    pkg unicode, func IsNumber(int32) bool
    pkg unicode, func IsOneOf([]*RangeTable, int32) bool
    pkg unicode, func IsPrint(int32) bool
    pkg unicode, func IsPunct(int32) bool
    pkg unicode, func IsSpace(int32) bool
    pkg unicode, func IsSymbol(int32) bool
    pkg unicode, func IsTitle(int32) bool
    pkg unicode, func IsUpper(int32) bool
    pkg unicode, func SimpleFold(int32) int32
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top