Exemplo n.º 1
0
        public static void DateTimeColumn(List <string> date)
        {
            string str = date.ToString();

            string[] newstr = str.Split(' ');
            OutputToConsole.WordsDisplayOnConsole(newstr);
        }
Exemplo n.º 2
0
        public static void CommentColumn(List <string> comment)
        {
            string str = comment.ToString();

            string[] newstr = str.Split(' ');
            OutputToConsole.WordsDisplayOnConsole(newstr);
        }
        public static void ColumnSplit(List <string> columnData)
        {
            string str = columnData.ToString();

            string[] wordSplit = str.Split(' ');
            OutputToConsole.WordsDisplayOnConsole(wordSplit);
        }
        public static string[] ConvertCommentsToWords(string path)
        {
            GetSeriesOfWords obj = new GetSeriesOfWords();

            ReadingFromCsvFile(path, obj);

            string comment      = BuildString(obj);
            string removeHeader = RemoveHeaderFromWord(comment);

            string[] word = removeHeader.Split(' ');
            OutputToConsole.WordsDisplayOnConsole(word);
            ColumFilter.DateTimeCommentsFilter(obj._dateTimeColumn, obj.CommentColumn);
            return(word);
        }