Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: split at pipe character

by Parham (Friar)
on Mar 04, 2002 at 19:19 UTC ( #149182=note: print w/ replies, xml ) Need Help??


in reply to split at pipe character

#!/usr/bin/perl use strict; my $id = 'lcl|CHLMU1894'; my @code = split(/\|/,$id); print $code[1];
that will print CHLMU1894


Comment on Re: split at pipe character
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://149182]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2015-07-31 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls