public static char[] Parse(InputFormat format) { if (format.IsCustom) { var delimiters = format .GetDelimitersToParse() .ToCharArray(); return(delimiters); } return(DEFAULT_DELIMITERS); }
public static string[] Parse(InputFormat format) { if (format.IsCustom) { var delimiters = format .GetDelimitersToParse() .TrimStart('[') .TrimEnd(']') .Split("]["); return(delimiters); } return(DEFAULT_DELIMITERS); }