in reply to How do I pull n characters off the front of a string?
#assuming $n contains the number $string =~ s/^(.{$n})//; $first_n = $1; [download]
Originally posted as a Categorized Answer.