my $string = "1234567890abcdefghijABCDEFGHIJK"; my $chars; my $n = 2;