parseCsvStringWithHeader
tw5-typed / modules/utils/csv / parseCsvStringWithHeader
Function: parseCsvStringWithHeader()
parseCsvStringWithHeader(
text,options?):object[]
Defined in: src/modules/utils/csv.d.ts:34
Parse a CSV string with a header row and return an array of objects.
Parameters
text
string
The CSV string to parse.
options?
The options for parsing the CSV string.
separator?
string
Returns
object[]
An array of objects representing the CSV data.
Description
解析具有标题行的 CSV 字符串并返回对象数组。