Merge pull request #664 from Arcadelia/Preserve_Quotes

Quotes should not be removed from values
This commit is contained in:
Tom Morris 2013-03-18 18:12:51 -07:00
commit 8a61cf731b

View File

@ -57,10 +57,6 @@ public class ImporterUtilities {
static public Serializable parseCellValue(String text) { static public Serializable parseCellValue(String text) {
if (text.length() > 0) { if (text.length() > 0) {
if (text.length() > 1 && text.startsWith("\"") && text.endsWith("\"")) {
return text.substring(1, text.length() - 1);
}
String text2 = text.trim(); String text2 = text.trim();
if (text2.length() > 0) { if (text2.length() > 0) {
try { try {