code: func SplitByFormat(data, format string) []string {
  	if data == "" {
  		return nil
  	}
  	var sep string
  	switch format {
  	case collectionFormatSpace:
  		sep = " "
  	case collectionFormatTab:
  		sep = "\t"
  	case collectionFormatPipe:
  		sep = "|"
  	case collectionFormatMulti:
  		return nil
  	default:
  		sep = ","
  	}
  	var result []string
  	for _, s := range strings.Split(data, sep) {
  		if ts := strings.TrimSpace(s); ts != "" {
  			result = append(result, ts)
  		}
  	}
  	return result
  }
docs: // SplitByFormat splits a string by a known format:
  //		ssv: space separated value
  //		tsv: tab separated value
  //		pipes: pipe (|) separated value
  //		csv: comma separated value (default)
  //