- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ExampleLastIndexFunc (0.43 sec)
-
src/cmd/internal/test2json/testdata/framebig.json
{"Action":"pass","Test":"ExampleLastIndexByte"} {"Action":"run","Test":"ExampleLastIndexFunc"} {"Action":"output","Test":"ExampleLastIndexFunc","Output":"=== RUN ExampleLastIndexFunc\n"} {"Action":"output","Test":"ExampleLastIndexFunc","Output":"--- PASS: ExampleLastIndexFunc (0.00s)\n"} {"Action":"pass","Test":"ExampleLastIndexFunc"} {"Action":"output","Output":"goos: darwin\n"} {"Action":"output","Output":"goarch: amd64\n"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 12.2K bytes - Viewed (0) -
src/strings/example_test.go
fmt.Println(strings.LastIndexByte("Hello, world", 'o')) fmt.Println(strings.LastIndexByte("Hello, world", 'x')) // Output: // 10 // 8 // -1 } func ExampleLastIndexFunc() { fmt.Println(strings.LastIndexFunc("go 123", unicode.IsNumber)) fmt.Println(strings.LastIndexFunc("123 go", unicode.IsNumber)) fmt.Println(strings.LastIndexFunc("go", unicode.IsNumber)) // Output: // 5
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:05:38 UTC 2023 - 10.7K bytes - Viewed (0)