Help for this page

Select Code to Download


  1. or download this
    my $string = <<HTML;
    this=x that=x x another=x thing=x
    HTML
    ...
        my @array2 = split(/\s/, $string);
     
     print $_."\n" foreach (@array2);
    
  2. or download this
    my $string = <<HTML;
    this=x that=x x another=x thing=x
    HTML
    ...
    my @array2 = split(/\s\|/, $string);
     
     print $_."\n" foreach (@array2);