The file names.txt consists of many names in the form of:
\"KELLEE\",\"JOSLYN\",\"JASON\",\"INGER\",\"INDIRA\",\"GLINDA\",\"GLENNIS\"
Does anyo
Split doesn't remove characters from the substrings. Your split is fine you just need to process the slice afterwards with strings.Trim(val, "\"").
for i, val := range arr { arr[i] = strings.Trim(val, "\"") }
Now arr will have the leading and trailing "s removed.