(str, delimiter, quoteChar)
| 17658 | return str.includes(quoteChar) ? this._strToRows(str, delimiter, quoteChar) : str.split("\n").map(line => line.split(delimiter)) |
| 17659 | } |
| 17660 | static fromDelimitedNoHeaders(str, delimiter, quoteChar) { |
| 17661 | str = str.replace(/\r/g, "") // remove windows newlines if present |
| 17662 | const rows = this._getEscapedRows(str, delimiter, quoteChar) |
| 17663 | return this._rowsToParticle(rows, delimiter, false) |
| 17664 | } |
| 17665 | static _strToRows(str, delimiter, quoteChar, newLineChar = "\n") { |
| 17666 | const rows = [[]] |
| 17667 | const newLine = "\n" |
nothing calls this directly
no test coverage detected