// StrToList return a list of string.
// example: 1,2,3 --> []string{"1", "2", "3"}
StrToList return a list of string.
// StrToList return a list of string . // example : 1 2 3 -- > [] string { " 1 " " 2 " " 3 " }
func StrToList(str string) []string {
	cnt := strings.Count(str, ",")
	s := make([]string, 0, cnt+1)
	for _, v := range strings.Split(str, ",") {
		if v != "" {
			s = append(s, v)
		}
	}
	return s
}
func StrToList ( str string ) [ ] string { cnt := strings . Count ( str , " " ) s := make ( [ ] string , 0 , cnt + 1 ) for _ , v := range strings . Split ( str , " " ) { if v != " " { s = append ( s , v ) } } return s }
StrToList return a list of string.
StrToList return a list of string .