sheetToTxt
On this page
Convert a worksheet to a tab-separated values (TSV) string.
This is a convenience wrapper around sheetToCsv with tab as the field
separator and newline as the record separator.
sheetToTxt(sheet: WorkSheet, opts?: Sheet2CSVOpts): string
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
sheet | WorkSheet | Yes | The worksheet to convert |
opts | Sheet2CSVOpts | No | Optional CSV/TSV generation options (same as sheetToCsv) |
Returns
string
The TSV string representation of the worksheet