- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IndexRune (2.74 sec)
-
src/bytes/example_test.go
fmt.Println(bytes.IndexAny([]byte("crwth"), "aeiouy")) // Output: // 2 // -1 } func ExampleIndexRune() { fmt.Println(bytes.IndexRune([]byte("chicken"), 'k')) fmt.Println(bytes.IndexRune([]byte("chicken"), 'd')) // Output: // 4 // -1 } func ExampleJoin() { s := [][]byte{[]byte("foo"), []byte("bar"), []byte("baz")}
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1)