question: public String removeReferenceHeaderFromBlastMatch ( String blastText ) { int index = blastText . indexOf ( "Length" ) ; if ( index == - 1 ) index = blastText . indexOf ( "Score" ) ; if ( index > 0 ) return blastText . substring ( index ) ; else return blastText ; }
target:  remove the header from a blast text (but keeping Length statement, if present)