Hello I have a CSV file with this random structure
,,,,,VALUE1,,,,,VALUE2,,,, ,,VALUE3,,,VALUE4,,,VALUE5, ,,,,,,,,,,,,,,,,,,, ,,,,,,,VALUE6,,,,VALUE7,, ,,,,,,,,VALUE8,,,,,, And I want to output the first and last ocurrence of each line.
in this manner
For first ocurrence
VALUE1 VALUE3 (empty) VALUE6 VALUE8 for last ocurrence
VALUE2 VALUE5 (empty) VALUE7 VALUE8 I've searched for hours and didn't find the best way to achieve this.
Thank you very much.
EDIT: Thank you everybody, this ,+ as separator is the key.
,like thisa,b,s,VALUE1,d,eor is it just the,there.