Author Topic: Please add newline support for CSV  (Read 1443 times)

Jofator

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Please add newline support for CSV
« on: March 07, 2014, 03:12:10 AM »
If you dont mind it's easy - one line to ByteReader.cs:

public BetterList<string> ReadCSV () {
    mTemp.Clear();

    if (canRead) {
        string line = ReadLine();
        if (line == null) return null;

        line = line.Replace("\\n", "\n"); // new line supported
Jofator

bac9

  • Full Member
  • ***
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 113
    • View Profile
Re: Please add newline support for CSV
« Reply #1 on: March 07, 2014, 04:09:43 AM »
As far as I understand it will be added in the next release, but thanks anyway! : )

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Please add newline support for CSV
« Reply #2 on: March 07, 2014, 09:17:18 AM »
Yeah currently Pro version already supports new lines in CSV even without using \\n.