Hi , I have a file as below : -
{ test = ("test123"); test = ("test123","abc"); test = ("test123","abc","xyz"); } { test1 = ("passfile"); test1 = ("passfile","pasfile1"); test1 = ("passfile","pasfile1","user"); } and so on .... The requirement is to have the file parsing so that final output is :- test = ("test123","abc","xyz"); test1 = ("passfile","pasfile1","user"); So basically only pick the lines with maximum number of options for each type. Regards.