Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: split and join

by Anonymous Monk
on Dec 18, 2001 at 07:11 UTC ( #132771=note: print w/ replies, xml ) Need Help??

in reply to split and join

using the chomp and split functions is fine for splitting records with 3 fields, but supposing you had 100 fields and you only wanted the 55th and 80th field values. there would be no real point in extracting all field values. Is there not a way to search/locate the nth delimeter ("|") and then extract the field directly following?

Comment on Re: split and join

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2015-10-04 11:33 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (102 votes), past polls