src.elv.sh/pkg/eval/mods/str.maxOpt.Max (field)
4 uses
src.elv.sh/pkg/eval/mods/str (current package)
str.go#L321: type maxOpt struct{ Max int }
str.go#L323: func (o *maxOpt) SetDefaultOptions() { o.Max = -1 }
str.go#L326: return strings.Replace(s, old, repl, opts.Max)
str.go#L358: parts := strings.SplitN(s, sep, opts.Max)
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)