Notch Notch Manual 0.9.23
 Light | Dark


Purpose #

Gets a single CSV entry at the corresponding row and column position, if the resource object is a valid CSV File resource. Otherwise returns a null object.

Syntax #

string GetCSVEntry(int row_index, int column_index);


column_indexThe column index to retrieve the CSV data from.
row_indexThe row index to retrieve the CSV data entry from.

Example #

function Update()
    csv = Document.FindResourceByName("test.csv");
    if(csv != null)
        csvData = csv.GetCSVEntry(0, 1);
        Log("entry at 0,1 : " + csvData);