...
Info | ||
---|---|---|
| ||
This routine is available since starting with katl-commons 4.0.8. |
Syntax
...
readFromCSVFile(path, hasHeader [, charset])
Description
...
Excerpt |
---|
Read the values from the CSV filem, returning them into an array, of N rows * M columns values |
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
path | string | Yes | Specifies the file name to read from. |
hasHeader | boolean | Yes | Specifies if the file has header. |
charset | string | No | Specifies the charset used to read that file. |
Return type
...
string []
The values from the file, as a string array.
Example
...
On it's basic form, the routine can be used like simply:
...
Unless calendaristic dates are in formats SIL can understand, dates should be imported as strings and further parsed afterwards in your SIL program.
Notes
...
Note |
---|
|
See also
...
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|