Browse Source

Allow to define an empty delimiter

pull/431/merge
lunatixcoder 7 years ago committed by Sergi Almacellas Abellana
parent
commit
d9c78a04ba
  1. 7
      papaparse.js

7
papaparse.js

@ -1152,7 +1152,12 @@ @@ -1152,7 +1152,12 @@
var step = config.step;
var preview = config.preview;
var fastMode = config.fastMode;
var quoteChar = config.quoteChar || '"';
/** Allows for no quoteChar by setting quoteChar to undefined in config */
if (config.quoteChar === undefined){
var quoteChar = '"';
} else {
var quoteChar = config.quoteChar;
}
// Delimiter must be valid
if (typeof delim !== 'string'

Loading…
Cancel
Save