private String handleBetween ( final String input ) { final String outString = input . replace ( "BETWEEN " , "" ) . replace ( "BET " , "" ) . replace ( "FROM " , "" ) ; return truncateAt ( truncateAt ( outString , " AND " ) , " TO " ) . trim ( ) ; }
Process between syntax . Just leave the beginning date .