- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleSplitAfterN (0.07 sec)
-
src/bytes/example_test.go
// Output: // ["a" "b,c"] // [] (nil = true) } func ExampleSplitAfter() { fmt.Printf("%q\n", bytes.SplitAfter([]byte("a,b,c"), []byte(","))) // Output: ["a," "b," "c"] } func ExampleSplitAfterN() { fmt.Printf("%q\n", bytes.SplitAfterN([]byte("a,b,c"), []byte(","), 2)) // Output: ["a," "b,c"] } func ExampleTitle() { fmt.Printf("%s", bytes.Title([]byte("her royal highness")))
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 07 17:22:36 UTC 2024 - 14.9K bytes - Viewed (0)