D:\work\perl\Net\ldap>perl -w use strict; my $id = 'lcl|CHLMU1894'; my @code = split(/\|/,$id); print $code[1]; ^Z CHLMU1894
Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"
In reply to Re: split at pipe character
by strat
in thread split at pipe character
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |