Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
743
func
splitN(str, sep string, n int64) ([]string, error) {
744
return
strings.SplitN(str, sep, int(n)), nil
745
}
746
747
func
substr(str string, start int64) (string, error) {
748
runes := []rune(str)
Callers
1
CompileOptions
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected