Help for this page

Select Code to Download


  1. or download this
    my $string = '20050516';
    
    ...
    (my $newstring = $string) =~ s/(\d{4})(\d{4})/$2$1/;
    warn $newstring;