public string[] GetHeader(string header, string date, string line2, string line3) { string [] lines = new string[3]; string line1 = CommonRules.GetHeader(header); line1 += "," + string.Join(",", date.Replace("BK!AHA", "") .Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)); lines[0] = line1; lines[1] = string.Join(",", line2.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)); lines[2] = string.Join(",", line3.Split(new[] { ' ', '(', ')' }, StringSplitOptions.RemoveEmptyEntries)); return(lines); }
public string GetHeader(string header) { return(CommonRules.GetHeader(header)); }