private String parseValue(String value){
  value=value.trim();
  if (value.charAt(0) == '\'' && value.charAt(value.length() - 1) == '\'') {
    value=value.substring(1,value.length() - 1);
    value=value.replaceAll("''","'");
  }
  return value;
}

private String parseValue ( String value ) { value = value . trim ( ) ; if ( value . charAt ( 0 ) == '\'' && value . charAt ( value . length ( ) - 1 ) == '\'' ) { value = value . substring ( 1 , value . length ( ) - 1 ) ; value = value . replaceAll ( "''" , "'" ) ; } return value ; }
parse a value ( the second half of a column match expression ) .
