I have a text file as following:
-----------------------------
China:wd:2
Japan:wd:6
China:sg:2
Japan:sg:10
China:kng:70
Thailand:kng:6
------------------------------
I want to get output as follows and need to write the output to another file:
China:2:2:70
Japan:6:10
Thailand:6
How can I get this done?
In reply to Reading from text file by sarath92
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |