hello
can someone please advise as to how can i insert tab after every word while inputting it in a file?
i have to read all the lines in a file. the file has tables. there are random spaces between the words. Output is to put this table to another file in tab delimited formated ( one tab between columns).
i have read the lines using readlines() and split the lines. I need to output this in the other file. For that, i need to put tab after every word.
Kindly suggest how do i do it?
thanks!