in reply to
substr regex alternative
print $string =~ /^.{6}(.{1,5})/s;
Comment on
Re: substr regex alternative
Download
Code
In Section
Seekers of Perl Wisdom