To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationcsv_decode

csv_decode (string data[, function f]) ⇒ list

Reads a string which consists of comma separated values and splits them on new lines and commas into a list of lists of values. The optional f parameter specifies some function that receives the value of each column to the function and obtains it's return value. This makes it easy to work on CSV files. The function must have at least one parameter.

Prior to version 1.7.3 this function was named parse_csv.

First available: Version

There are no comments on this page.

New comment
Code previewClose
Feedback 👍
Comments are sent via email to me.