public static String termFromResult(String result){
  String[] parts=result.split(":");
  if (parts.length != 2)   return null;
  return parts[1];
}

public static String termFromResult ( String result ) { String [ ] parts = result . split ( ":" ) ; if ( parts . length != 2 ) return null ; return parts [ 1 ] ; }
get a term from a search results line .
