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