UPDATE: Sorry, I should have realized that I just repeated what kcott said in the previous reply.#!/usr/bin/perl use strict; my $id = 'Hi|Hello\|Sir'; my @code = split(/(?<!\\)\|/,$id); print $code[1]."\n";
In reply to Re^2: Splitting the record using the delimiter
by graff
in thread Splitting the record using the delimiter
by mariaprabudass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |