Help for this page

Select Code to Download


  1. or download this
    $foo = '^';
    m/$foo/
    
  2. or download this
    my $str = "acb^def^123^456";
    my $foo = '^'; 
    ...
    my @fields = split /$foo/, $str;
    my $out = join '|', @fields;
    print "$out\n";
    
  3. or download this
    my $str = "acb\tdef\t123\t456";
    my $foo = "\t";
    
  4. or download this
    "first,field","second,""field"with','junk","third'field