in reply to
obtaining the three leftmost characters of a string
substr
would be your answer.
substr $str, 0, 3;
Abigail
Comment on
Re: obtaining the three leftmost characters of a string
Select
or
Download
Code
In Section
Seekers of Perl Wisdom