MCPcopy Create free account
hub / github.com/davecheney/presentations / Split

Function Split

split1/split.go:8–17  ·  view source on GitHub ↗

Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.

(s, sep string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestSplitFunction · 0.70
TestSplitWrongSepFunction · 0.70
testSplitEmptySepFunction · 0.70
testSplitTrailingSepFunction · 0.70

Calls

no outgoing calls

Tested by 4

TestSplitFunction · 0.56
TestSplitWrongSepFunction · 0.56
testSplitEmptySepFunction · 0.56
testSplitTrailingSepFunction · 0.56