Help for this page

Select Code to Download


  1. or download this
    my @words = split /\s+/, $string;
    my @words = $string =~ /(\S+)/g;
    
  2. or download this
    my @bignums = $string =~ /(\d{4,})/;g
    
  3. or download this
    my @funny_delimited = split /(?:,\s+|###|!delim!)/, $string;