Sign in
go
/
tools
/
faff00d7e7f637e51751b4147e653ca32eb9364c
/
.
/
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
}