Help for this page

Select Code to Download


  1. or download this
    $olds='one,two,"three,four,five","six",seven,"eight,nine"';
    $i = 0;
    $news = join '', grep { $i++ % 2 ? {s/,/ /g} : 1 } split /"/,$olds;
    print $news . "\n";
    
  2. or download this
    one,two,three four five,six,seven,eight nine