I am reading big data from text file by jComboBox
using this code.
Text file have about 100 columns and I am reading necessary column with this code:
(substring(12, 13) related to - "A, B, C, D, ...", substring(58, 96) related to - "Some text")
jComboBox1.addItem(str.substring(12, 13) + str.substring(58, 96));
And in output I am getting jComboBox
with empty rows and empty space.
As shown in picture I don't need to read rows flagged with "AAA" (in blue line) and rows with comment (in red line).
I would like to ask is it possible to remove extra blanks and exclude rows flagged with "AAA"?
Thank you in advance.