private boolean htmlSentenceTerminatorFound ( String str , int index ) { for ( int i = 0 ; i < sentenceTerminators . length ; i ++ ) { String terminator = sentenceTerminators [ i ] ; if ( str . regionMatches ( true , index , terminator , 0 , terminator . length ( ) ) ) { return true ; } } return false ; }
Find out if there is any HTML tag in the given string . If found return true else return false .