Help for this page

Select Code to Download


  1. or download this
    my $var = "1 word here another word";
    my @words = split /\s+/, $var;
    
  2. or download this
    my $var = '     some words  ';
    $var =~ s/\A
    ...
        \s*
        \z
    /$1/x;