Just another Perl shrine | |
PerlMonks |
Re: split and joinby Anonymous Monk |
on Dec 18, 2001 at 07:11 UTC ( [id://132771]=note: print w/replies, xml ) | Need Help?? |
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?
In Section
Tutorials
|
|