We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2004540 commit 00f26f7Copy full SHA for 00f26f7
src/javaxt/express/utils/CSV.java
@@ -320,8 +320,13 @@ private static javaxt.utils.Value getValue(StringBuilder str){
320
if (col.length()==0) col = null;
321
if (col!=null){
322
if (col.startsWith("\"") && col.endsWith("\"")){
323
- col = col.substring(1, col.length()-1).trim();
324
- if (col.length()==0) col = null;
+ if (col.length()>1){
+ col = col.substring(1, col.length()-1).trim();
325
+ if (col.length()==0) col = null;
326
+ }
327
+ else{
328
+ col = null;
329
330
}
331
332
return new javaxt.utils.Value(col);
0 commit comments