MCPcopy Create free account
hub / github.com/ankorstore/yokai / Split

Function Split

fxhttpserver/util.go:25–27  ·  view source on GitHub ↗

Split trims and splits a provided string by comma.

(str string)

Source from the content-addressed store, hash-verified

23
24// Split trims and splits a provided string by comma.
25func Split(str string) []string {
26 return strings.Split(strings.ReplaceAll(str, " ", ""), ",")
27}

Callers 2

ExtractMethodsFunction · 0.70
withDefaultMiddlewaresFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected