code: func getKey(s, key string) string {
  	i := strings.Index(s, key)
  	if i == -1 {
  		return ""
  	}
  	if i+len(key)+1 >= len(s) || s[i+len(key)] != '=' {
  		return ""
  	}
  	j := strings.Index(s, ",")
  	if j == -1 {
  		j = len(s)
  	}
  	return s[i+len(key)+1 : j]
  }
docs: // getKey gets a key from a the list of keys. Returns "" on error / not found...