CODE 1
str := "a,b,c" fmt.Println(strings.Split(str, ","))
OUTPUT 1
[a b c]
CODE 2
str := "abc" fmt.Println(strings.Split(str, ""))
OUTPUT 2