- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for ExampleLastIndexByte (0.07 seconds)
-
src/bytes/example_test.go
fmt.Println(bytes.LastIndexAny([]byte("go 地鼠"), "地大")) fmt.Println(bytes.LastIndexAny([]byte("go gopher"), "z,!.")) // Output: // 5 // 3 // -1 } func ExampleLastIndexByte() { fmt.Println(bytes.LastIndexByte([]byte("go gopher"), byte('g'))) fmt.Println(bytes.LastIndexByte([]byte("go gopher"), byte('r'))) fmt.Println(bytes.LastIndexByte([]byte("go gopher"), byte('z'))) // Output:
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon May 12 16:07:54 GMT 2025 - 16.5K bytes - Click Count (0)