OpenWGA 7.10 - TMLScript reference
AFW.UtilMethod :
csvReader(config)
| On object | AFW.Util |
| Usage | Returns a TMLScript object to read csv data from a file or inputstream. |
| Description |
CSV Reader (Importer) Config options:
Column Definition (config.columns): Each column is either a Sting or Object. If it is Object !=null the following properties are assumed:
If it is String the format "key(type)" is allowed. Otherwise the String is taken as key with type=text as format. null columns are ignored Return value: A csvReader object with one method
The default encoding is utf8. |
| Parameters |
config object |
| Return value | csvReader object |
| Allowed in script types |
|
| Examples |
AFW.Util.csvReader({
|