nested csv into tsv

Ali Çehreli acehreli at yahoo.com
Sun Mar 18 10:29:07 PDT 2012


Bug fix release: :)

On 03/18/2012 10:13 AM, bioinfornatics wrote:
 > Le dimanche 18 mars 2012 à 09:53 -0700, Ali Çehreli a écrit :

 >>       void field3( string[] field ) @property {
 >>           _field3 = field.join();

I think that should have been field.join(";"). (But join() is not used 
in the final version of the program anyway.)

 >>       string[] field3(  ) @property {
 >>           if (_raw_field3 !is null) {
 >>               _field3 = _raw_field3.split(";");

This line must be added so that split() is not called every time:

                  _raw_field3 = null;

 >>           }
 >>           return _field3;
 >>       }

Ali



More information about the Digitalmars-d-learn mailing list