- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Ya (0.22 sec)
-
src/bytes/example_test.go
// -gopher // go-gopher! // go-gopher!567 } func ExampleTrimPrefix() { var b = []byte("Goodbye,, world!") b = bytes.TrimPrefix(b, []byte("Goodbye,")) b = bytes.TrimPrefix(b, []byte("See ya,")) fmt.Printf("Hello%s", b) // Output: Hello, world! } func ExampleTrimSpace() { fmt.Printf("%s", bytes.TrimSpace([]byte(" \t\n a lone gopher \n\t\r\n"))) // Output: a lone gopher }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1)