Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://132771]
help
Chatterbox?
NodeReaper . o O ( Did I forget to leave the gas on? )

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2017-04-23 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (430 votes). Check out past polls.