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