Help for this page

Select Code to Download


  1. or download this
    my @fields = split / /, $string;
    
  2. or download this
    my @fields = split /\s/, $string;
    
  3. or download this
    my @fields = split /\s+/, $string;
    
  4. or download this
    my @fields = split ' ', $string;
    
  5. or download this
    my @fields = split /\s*/, $string;