On Monday, 8 January 2018 at 07:37:31 UTC, Vino wrote:
I tried to manipulate the writeln's as below but the output is not as expected as it prints the data in row wise, where as we need it in column wise.
...
Using the function countUntil find the keys for each of the column and store the result of each column in another files.
So, you don't need row wise output.