Help for this page

Select Code to Download


  1. or download this
    $string = "a:b::c   d";
    @patterns = (':','::','\s+');
    @fields = split(\@patterns, $string);
    
  2. or download this
    split([ ':',',',\20,\10 ],$_);