How to set size of column of csv file?

后端 未结 3 1108
长情又很酷
长情又很酷 2021-01-11 13:53

I want to set the size of each column in csv file, I want to set the size of column against the field, I don\'t know where I can do the code of to set the size? Can anyone h

3条回答
  •  独厮守ぢ
    2021-01-11 14:35

    There is no way to do this.
    CSV stands for coma separated values:

    A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form. Plain text means that the file is a sequence of characters, with no data that has to be interpreted instead, as binary numbers. A CSV file consists of any number of records, separated by line breaks of some kind; each record consists of fields, separated by some other character or string, most commonly a literal comma or tab. Usually, all records have an identical sequence of fields.

    Short and clear definition.
    CSV is too primitive for this.
    Did you ever try to open CSV file with usual text editor?
    You need XLS for this case.

提交回复
热议问题