in reply to Re^2: Pipe and extract
in thread Pipe and extract

See substr or perlre. For a general orientation about what functions Perl provides you, see perlfunc.