Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I know | is a special character so I have tried this:
Where id is a string such as: lcl|CHLMU1894 and I am wanting to retrieve the information CHLMU1894 in $code1@code =split(/\|/,$id);
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: split at pipe character
by strat (Canon) on Mar 04, 2002 at 17:21 UTC | |
|
Re: split at pipe character
by Juerd (Abbot) on Mar 04, 2002 at 17:18 UTC | |
|
Re: split at pipe character
by gellyfish (Monsignor) on Mar 04, 2002 at 17:18 UTC | |
|
Re: split at pipe character
by Chady (Priest) on Mar 04, 2002 at 17:57 UTC | |
by Juerd (Abbot) on Mar 04, 2002 at 18:56 UTC | |
|
Re: split at pipe character
by Parham (Friar) on Mar 04, 2002 at 19:19 UTC |