Link Search Menu Expand Document

CSVDocument.Parse Method

Explanation Load CSV data from character string

Added since Ver.4.0.0, Mobile Ver.3.0.0

When Parse method is executed, the previous data will be lost.

The loading function of Parse method is same as Load method, but a String object can be specified as an argument.
Call format csvdoc.Parse( str [, cond1 [, cond2, … ] ] )
Return value None
Arguments String str CSV character string
String cond Search condition that specify the rows to be loaded.
To set this, write the format same as Loadmethod.
For the Search condition, the Maximum can be specified only as the same number with the number of columns. If more than one is specified, combine them with AND.
Exception None
Example of use
    var csvdoc = new CSVDocument;
    var str = "aaa,bbb,ccc";
    csvdoc.Parse(str);
    
Related item Save, Get, Load methods