golang what does strings.Split return code example Example 1: golang string split s := strings.Split("a,b,c", ",") Example 2: golang substring s = s[:len(s)-1]