ES3Spreadsheet.Load
Description
Loads a CSV file into an ES3Spreadsheet.
Parameters
filePath | The name or path of the CSV file you want to load. |
settings |
An ES3Settings specifying any non-default settings. |
Examples
C#
1 2 3 4 5 6 |
// Create a blank ES3Spreadsheet. var sheet = new ES3Spreadsheet(); sheet.Load("spreadsheet.csv"); // Output the first row of the spreadsheet to console. for(int col=0; col<sheet.ColumnCount; col++) Debug.Log(sheet.GetCell<int>(col, 0)); |
JS
1 2 3 4 5 6 |
// Create a blank ES3Spreadsheet. var sheet = new ES3Spreadsheet(); sheet.Load("spreadsheet.csv"); // Output the first row of the spreadsheet to console. for(var col=0; col<sheet.ColumnCount; col++) Debug.Log(sheet.GetCell.<int>(col, 0)); |