Sign in
go
/
tools
/
b43031a33b2441978fb70a1c177b33494d032d38
/
.
/
go
/
ssa
/
interp
/
testdata
/
src
/
strings
/
strings.go
blob: dd86dcf4fb6fda10cc2a6b309f1e316d55db3cea [
file
] [
log
] [
blame
]
package strings
func Replace(s, old, new string, n int) string
func Index(haystack, needle string) int
func Contains(haystack, needle string) bool {
return Index(haystack, needle) >= 0
}