- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Chow (0.16 sec)
-
src/bytes/example_test.go
// Output: // 3 // 5 } func ExampleCut() { show := func(s, sep string) { before, after, found := bytes.Cut([]byte(s), []byte(sep)) fmt.Printf("Cut(%q, %q) = %q, %q, %v\n", s, sep, before, after, found) } show("Gopher", "Go") show("Gopher", "ph") show("Gopher", "er") show("Gopher", "Badger") // Output: // Cut("Gopher", "Go") = "", "pher", true
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1)