See if substr will do what you want.
In reply to Re: substring within range by GrandFather in thread substring within range by smartperl