in reply to Re: get some part of the string using regexin thread get some part of the string using regex
my $foo = 'abc|def|ghi|jkl|mno'; my @bar = split('|', $foo, 3); [download]