in reply to Re: How to get a value from a file and save in another file
in thread How to get a value from a file and save in another file
I am sorry for the miss leading the data I used.
Let me try it again:
The data file is:
Record1: CON-aaa
-----------LA-bbbbb
-----------LA-aaaaa
Record2: LA-12345
-----------LA-1ad1d
...
I want to output the first data with "LA" in record 1, record2 and so on. The result should be like:
LA-bbbbb
LA-12345
There is no need to check if the rest of the value after the "LA-".
Thank you again!!