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