You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

get_csv_headers()

Usage

get_csv_headers(source[, delimiter[, quoteChar[, recordSeparator]]])

Description
Parses the given CSV string and returns a list of column headers

Example

${get_csv_headers('COL1;COL2;COL3\none;two;three')}

results in

["COL1", "COL2", "COL3"]

Search results for "get_csv_headers()"

get_csv_headers()

Parses the given CSV string and returns a list of column headers

get_csv_headers(source[, delimiter = ';' [, quoteChar = '"' [, recordSeparator = '\n' ]]])