CSV.parse(String, [delimiter])

Function parses a string as CSV-object Array, with optional custom delimiter.

Type: function

Parameter(s):

  • String {String}:

    to be parsed as CSV-object.

  • delimiter {String} Optional:

    optional character[s] used to separate data.

Returns:

  • {Array}:

    Returns CSV-object Array

Example(s):

var arr = CSV.parse(str);
var str = CSV.stringify(arr);