which is the faster equivalent ofmy $emc_device = substr($inq, 2, 3);
my ($emc_device) = $inq =~ /^..(...)/;
In reply to Re: Match and extract three characters from the middle of a string
by ikegami
in thread Match and extract three characters from the middle of a string
by svnipp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |