(str)
| 17647 | return this.fromDelimited(str, " ", '"') |
| 17648 | } |
| 17649 | static fromTsv(str) { |
| 17650 | return this.fromDelimited(str, "\t", '"') |
| 17651 | } |
| 17652 | static fromDelimited(str, delimiter, quoteChar = '"') { |
| 17653 | str = str.replace(/\r/g, "") // remove windows newlines if present |
| 17654 | const rows = this._getEscapedRows(str, delimiter, quoteChar) |
no test coverage detected