golang split string into all possible substrings code example Example: golang string split s := strings.Split("a,b,c", ",")