in reply to How do I pull n characters off the front of a string?

Or this way:
#assuming $n contains the number $string =~ s/^(.{$n})//; $first_n = $1;

Originally posted as a Categorized Answer.