Link Search Menu Expand Document

CSVDocument.DeleteColumn Method

Explanation Delete column of selected column index
Call format csvdoc.DeleteColumn( column )
Return value None
Arguments integer column Delete column that starts from index column 0
If specified 0,the first column will be deleted,
if specified 1, the second column will be deleted.
Exception CSV-4 Specified column cannot be deleted
Example of use
    var csvdoc = new CSVDocument;
    var res = session.get("/test/sample.csv");
    csvdoc.Load(res);
    csvdoc.DeleteColumn(0);
    
Related item InsertColumn, InsertRow, DeleteRow methods