English
@eightkk/vue-weave / core / formatSheetText
Function: formatSheetText()
formatSheetText(
records):string
Defined in: src/core/sheetEditing.ts:64
Write records of cells as tab-separated text with CRLF line breaks, as spreadsheet applications read it. A cell that contains a tab, a line break or a double quote is quoted, with inner quotes doubled, so parseSheetText reads the same records back. When several records end with one that is a single empty cell, the text ends with a line break, which parseSheetText drops, so that the empty last record is kept.
Parameters
records
readonly (readonly string[])[]
Returns
string