Ok so, I have several text documents containing similar format as below:
497 Q0 WTX091-B06-138 0 0.415344133 GROUP001
497 Q0 WTX091-B09-92 1 0.362342072 GROUP001
497 Q0 WTX091-B09-76 2 0.354034424 GROUP001
497 Q0 WTX091-B09-57 3 0.349649535 GROUP001
497 Q0 WTX091-B43-79 4 0.3217919 GROUP001
497 Q0 WTX091-B43-56 5 0.321450733 GROUP001
.
.
.
(actually there are 1000 lines in each text document)
I have stored each document into an arraylist separated by line. The challenging part is that I have to look for the third column (WTX***-B**-**) in each document and if they are the same then I have to add their fifth (0.3********) column together.
How do I compare the third column in different text documents?