Help for this page

Select Code to Download


  1. or download this
    my $string = q("one","two","three");
    my @array = split( /"(?:,")?/, $string );
    
  2. or download this
     my @array = split( /(?<!^)"(?:,")?/, $string );
    
  3. or download this
     my @array = qw( "one two three );
    
  4. or download this
       $array[0] =~ s/^"/;