- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Ky (0.11 sec)
-
src/bytes/example_test.go
} func ExampleRepeat() { fmt.Printf("ba%s", bytes.Repeat([]byte("na"), 2)) // Output: banana } func ExampleReplace() { fmt.Printf("%s\n", bytes.Replace([]byte("oink oink oink"), []byte("k"), []byte("ky"), 2)) fmt.Printf("%s\n", bytes.Replace([]byte("oink oink oink"), []byte("oink"), []byte("moo"), -1)) // Output: // oinky oinky oink // moo moo moo } func ExampleReplaceAll() {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1)