go string to slice by delimiter code example Example: golang string split s := strings.Split("a,b,c", ",")