1: Name
12: Name
123: Name
.
.
.
12343: --End of Data --
I need to output the Names without the numbers and colon in front.
I have tried substr but because the numbers get larger that doesn't work. It also is in a loop and I need it to stop when it finds --End of Data--. The code works properly except it prints the numbers and colon and I can't compare the line with --End of Data-- to restart the loop because the numbers change in front. If I manually put the numbers and colon in front, it works properly. So I am wondering if there is a way to erase the beginning not knowing how many numbers are before the Name? Thanks