I have an input in the form (as given below) in a text file. I have to loop through the contents in between two '$-$-$-$' characters. This is done by splitting at '$-$-$-$'. To get the Output as shown in the format below I could achieve by splitting at newline and at '-' character and looping through. Problem is I cannot get the names iteratively like 1.lab, 2.lab, 3.lab for content b/w $-$-$-$. Couldn't apply the loops properly. Confused with the...