rex_csv2array
Introduction
This plugin could load content of official array object by csv string.
This plugin could load content of official array object by csv string.
There is only one "Action:Put csv data into array", put csv string
at 1st parameter, and official array object at 2nd parameter. X/Y mapping from Row/Col at 3rd parameter, Z index at 4th parameter.
The format of csv string is
The format of csv string is
for each line, see sample capx for more detail.
The "Eval mode" setting in properties table is the same as rex_csv plugin.
- number: 10
- string: 'hi'
- javascript function: Math.random() -- it return a number
Delimiter
Delimiter is set in property "Delimiter" or set by "Action:Set delimiter". Default is ",".
Delimiter is set in property "Delimiter" or set by "Action:Set delimiter". Default is ",".
Split string
Sample capx
"Action:Put csv data into array" also could be used to split string by delimiter, and put sub-strings into an array.
Or uses "Condition:For each cell" to retrieve all sub-strings.
Sample capx
"Action:Put csv data into array" also could be used to split string by delimiter, and put sub-strings into an array.
Or uses "Condition:For each cell" to retrieve all sub-strings.