code: private static String formatValue(String value)
  	{
  		if(value == null)
  			return "";
  		
  		value = value.trim();
  		
  		if(value.startsWith("\"")|| value.startsWith("'"))
  			value = value.substring(1);
  		
  		if(value.endsWith("\"")|| value.endsWith("'"))
  			value = value.substring(0, value.length() -1);
  		
  		return value;
  	}
docs: ------------------------------------------------