Help for this page

Select Code to Download


  1. or download this
    @ar = split(/$pattern/, $str); 
    shift(@ar);
    
  2. or download this
    $str =~ s/^$pattern//;
    @ar = split(/$pattern/, $str);
    
  3. or download this
    @ar = (split(/$pattern/, $str))[1..$n-1];