Help for this page

Select Code to Download


  1. or download this
    if (c == csv->sep_char || is_SEPX (c)) {
    
  2. or download this
    /* somewhere on the object constructor */
    csv->sep_tail_len = sep_len - 1;
    ...
            ((csv->size - csv->used >= csv->sep_tail_len) &&
             !memcmp(csv->bptr + csv->used, csv->sep_tail, csv->sep_tail_l
    +en))) {
            /* you have a separator! */