about std.csv and derived format
Jesse Phillips
jessekphillips+D at gmail.com
Wed Feb 29 04:23:21 PST 2012
On Wednesday, 29 February 2012 at 11:51:29 UTC, bioinfornatics
wrote:
> Le mercredi 29 février 2012 à 12:42 +0100, bioinfornatics a
> écrit :
>> Dear,
>>
>> I would like to parse this file:
>> http://genome.ucsc.edu/goldenPath/help/ItemRGBDemo.txt
> My problem is:
> - need to parse data in csv format
> - how manage with optional field
It looks like the data is tab delimited so separator is a tab.
There are no optional fields in CSV, but you can disable
exceptions.
auto records = csvReader!(Bed,Malformed.ignore)(str,'\t');
More information about the Digitalmars-d-learn
mailing list