Help for this page

Select Code to Download


  1. or download this
    my $x = "0123456789abcdef" x 4 . "XXX";
    my $chunksize= 16;
    ...
        substr($x,$i,0)=" ";
    };
    print $x;
    
  2. or download this
    join " ",$x=~/(.{1,$chunksize})/g