Help for this page

Select Code to Download


  1. or download this
    my ($one, $two, $three) = split( /(\d+)\s+/, $line, 2);
    
  2. or download this
        split(/([,-])/, "1-10,20", 3);
    
  3. or download this
        (1, '-', 10, ',', 20)