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