Hi all
Can anyone suggest me a good solution ? My requirement is as follows
I have a plain text file similar to this...
sending data to 0003345234
here is the output...
,..........
...........
.......
sending data to 00033452ab
here is the output...
,..........
...........
.
.......
sending data to 00033abfbb
here is the output...
,..........
...........
abcabc----
.......
----------------------------------------
Now I want to modify this file as follows
sending data to 0003345234 Mumbai
here is the output...
,..........
...........
.
.......
sending data to 00033452ab Culcutta
here is the output...
,..........
...........
.
.......
sending data to 00033abfbb Pune
here is the output...
,..........
...........
.
.......
----------------------------------------
I have a comparison file also like
00033abfbb Pune
00033452ab Culcutta
003345234 Mumbai
Now the problem is, in the orginal file some time there would be some white spaces at the end of the line.
Cheers
Hari