MCPcopy Create free account
hub / github.com/cel-expr/cel-go / splitN

Function splitN

ext/strings.go:743–745  ·  view source on GitHub ↗
(str, sep string, n int64)

Source from the content-addressed store, hash-verified

741}
742
743func splitN(str, sep string, n int64) ([]string, error) {
744 return strings.SplitN(str, sep, int(n)), nil
745}
746
747func substr(str string, start int64) (string, error) {
748 runes := []rune(str)

Callers 1

CompileOptionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected