I have a txt file like that:
INCOME|
NAME|MARY
DATAX|100
DATAX|120
NAME|MARY
DATAY|100
DATAY|120
NAME|BILL
DATAX|180
DATAX|170
I need a code that reads this TXT file and return this txt file:
Name: Mary
DATAX 100
DATAX 120
DATA Y 100
DATA Y 120
Name: Bill
DATAX 180
DATAX 170
I know how to...