... | ... | @@ -4,4 +4,12 @@ After successfully [parsing](CSVparsing) a CSV file, now let's consider how to e |
|
|
|
|
|
## Deleting a column
|
|
|
|
|
|
One of the basic editing operations that we might want to support is deleting a column from all records in a file. |
|
|
\ No newline at end of file |
|
|
One of the basic editing operations that we might want to support is deleting a column from all records in a file.
|
|
|
|
|
|
Suppose we want to delete the second column in the following CSV data.
|
|
|
```
|
|
|
Data stream: Henderson,Paul,ph@sfu.ca⏎Lin,Qingshan,1234@zju.edu.cn⏎
|
|
|
Field starts: 1.........1....1.........1...1........1...............
|
|
|
Field follows: .........1....1.........1...1........1...............1
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |