I have CSV File and in that file one column contains several values which are like:
PPG, bonds (AMT, current US$)
PPG, bonds (DIS, current US$)
PPG, bonds (DOD, current US$)
PPG, bonds (INT, current US$)
PPG, bonds (NFL, current US$)
PPG, bonds (NTR, current US$)
PPG, bonds (TDS, current US$), etc.
And at the time splitting it gets splits into different strings. I want them to be as one string. Currently, I'm using
String[] data = line.split(",");
Could anyone help me by telling how I can convert this into single String?