private static int kyowa_header_int(string[] header, KyowaHeaderType target) { int res; if(int.TryParse(kyowa_header_str(header, target), out res)) return res; return 0; }
private static string kyowa_header_str(string[] header, KyowaHeaderType target) { return string.Join(" ", kyowa_header(header, target)); }
private static string[] kyowa_header(string[] header, KyowaHeaderType target) { return header[(int)target].TrimEnd(',').Split(',').Skip(1).Select(s=>s.Trim('"')).ToArray(); }