Debug Viana
This commit is contained in:
+2
-2
@@ -80,8 +80,8 @@ function parseCSV(text) {
|
|||||||
} else {
|
} else {
|
||||||
if (char === '"') {
|
if (char === '"') {
|
||||||
insideQuotes = true
|
insideQuotes = true
|
||||||
} else if (char === ',') {
|
} else if (char === ';') {
|
||||||
row.push(field)
|
row.push(field.replaceAll(',','.'))
|
||||||
field = ''
|
field = ''
|
||||||
} else if (char === '\n' || char === '\r') {
|
} else if (char === '\n' || char === '\r') {
|
||||||
if (field.length > 0 || row.length > 0) {
|
if (field.length > 0 || row.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user