Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict; use warnings; 
    ...
    my @res= SplitCSVLine('123,hubba hubba,bla fasel,hell');
    
    print ':',join":",@res,":\n";
    
  2. or download this
    :123:hubba hubba:bla fasel:hell::
    
  3. or download this
    $line =~ s/\"((\"\"|[^\"])*)\"\s*(,|$ )//x;