The following method removes first n chars from each line of a text file.

 

So, to remove the first 5 columns from the textfile filename.txt you should make the following call:

removeCols(“filename.txt”, 5);

and you will get a new file named filename.txt.cols.

Gg1