Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    my $string = '12 abcdefghijklmnopqrstuvwxyz';
    $string =~ s/^(\d+) (.*)/substr $2, 0, $1/e;
    print "$string\n";
    
  2. or download this
    abcdefghijkl