281~name~location~@time@room%
@time2@room2%
@time3@room3;
I need to delete the second line after the % in text file. But i dont know how to do that.
281~name~location~@time@room% @time2@room2 % @time3@room3; I need to delete the second line after the %
Share
You should read old file and match it to the line you want to delete.if it is not the line you want to delete then write it to another file.thus you will get the new file with only that line missing which you wanted to delete.
you are done.hope it will help.