private String doTitleSplits(String title,String delimeter){
  String largeText="";
  int largetTextLen=0;
  String[] titlePieces=title.split(delimeter);
  for (  String p : titlePieces) {
    if (p.length() > largetTextLen) {
      largeText=p;
      largetTextLen=p.length();
    }
  }
  largeText=largeText.replace("&raquo;"," ");
  largeText=largeText.replace("\u00BB"," ");
  return largeText.trim();
}

private String doTitleSplits ( String title , String delimeter ) { String largeText = "" ; int largetTextLen = 0 ; String [ ] titlePieces = title . split ( delimeter ) ; for ( String p : titlePieces ) { if ( p . length ( ) > largetTextLen ) { largeText = p ; largetTextLen = p . length ( ) ; } } largeText = largeText . replace ( "&raquo;" , " " ) ; largeText = largeText . replace ( "»" , " " ) ; return largeText . trim ( ) ; }
based on a delimeter in the title take the longest piece or do some custom logic based on the site
