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