(str, delimiter, quoteChar)
| 17655 | return this._rowsToParticle(rows, delimiter, true) |
| 17656 | } |
| 17657 | static _getEscapedRows(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) |
no test coverage detected