Golang String podzielony
s := strings.Split("a,b,c", ",")
Dopey Diplodocus
s := strings.Split("a,b,c", ",")
someString := "one two three four "
words := strings.Fields(someString)
fmt.Println(words, len(words)) // [one two three four] 4