question: private static String parseTagValue ( String parseString , String openTag , String closeTag ) { int beg , end ; beg = parseString . indexOf ( openTag ) ; end = parseString . indexOf ( closeTag ) ; if ( beg < 0 || end < 0 ) { return null ; } if ( beg > end ) { return null ; } if ( beg + openTag . length ( ) == end ) { return "" ; } return parseString . substring ( beg + openTag . length ( ) , end ) ; }
target:  Parses out the text located between first occurrences of the open and closed tags.