func strings.Index
44 uses
strings (current package)
strings.go#L51: i := Index(s, substr)
strings.go#L62: return Index(s, substr) >= 0
strings.go#L135: return Index(s, string(r))
strings.go#L251: m := Index(s, sep)
strings.go#L948: j += Index(s[start:], old)
strings.go#L1024: func Index(s, substr string) int {
crypto/x509
pem_decrypt.go#L130: idx := strings.Index(dek, ",")
encoding/json
tags.go#L18: if idx := strings.Index(tag, ","); idx != -1 {
tags.go#L34: i := strings.Index(s, ",")
math/big
ratconv.go#L64: if sep := strings.Index(s, "/"); sep >= 0 {
mime
encodedword.go#L242: i := strings.Index(header, "=?")
encodedword.go#L254: start := strings.Index(header, "=?")
encodedword.go#L260: i := strings.Index(header[cur:], "?")
encodedword.go#L278: j := strings.Index(header[cur:], "?=")
mediatype.go#L141: i := strings.Index(v, ";")
mediatype.go#L177: if idx := strings.Index(key, "*"); idx != -1 {
net/http
cookie.go#L69: j := strings.Index(parts[0], "=")
cookie.go#L93: if j := strings.Index(attr, "="); j >= 0 {
cookie.go#L250: if splitIndex := strings.Index(line, ";"); splitIndex > 0 {
cookie.go#L260: if j := strings.Index(part, "="); j >= 0 {
fs.go#L884: i := strings.Index(ra, "-")
request.go#L794: dot := strings.Index(vers, ".")
request.go#L980: s1 := strings.Index(line, " ")
request.go#L981: s2 := strings.Index(line[s1+1:], " ")
server.go#L2150: if i := strings.Index(url, "?"); i != -1 {
net/url
url.go#L556: colon := strings.Index(rest, ":")
url.go#L557: slash := strings.Index(rest, "/")
url.go#L638: zone := strings.Index(host[:i], "%25")
url.go#L939: if i := strings.Index(key, "="); i >= 0 {
os/exec
exec.go#L751: eq := strings.Index(kv, "=")
exec.go#L778: eq := strings.Index(kv, "=")
os/user
cgo_lookup_unix.go#L121: if i := strings.Index(u.Name, ","); i >= 0 {
regexp
regexp.go#L403: return strings.Index(i.str[pos:], re.prefix)
regexp.go#L925: i := strings.Index(template, "$")
regexp/syntax
parse.go#L827: if i := strings.Index(t, `\E`); i < 0 {
parse.go#L1395: i := strings.Index(s[2:], ":]")
src.elv.sh/pkg/eval
compile_value.go#L149: i := strings.Index(s, "/")
purely_eval.go#L44: i := strings.Index(head, "/")
src.elv.sh/pkg/eval/mods/str
str.go#L580: "index": strings.Index,
src.elv.sh/pkg/eval/vals
index_list.go#L142: if i := strings.Index(s, "..="); i >= 0 {
index_list.go#L145: if i := strings.Index(s, ".."); i >= 0 {
src.elv.sh/pkg/ui
parse_sgr.go#L46: nextSGR := strings.Index(st.text, sgrPrefix)
vendor/golang.org/x/net/idna
idna10.0.0.go#L700: if strings.Index(s, zwj) == -1 && strings.Index(s, zwnj) == -1 {