|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: split and joinby Anonymous Monk |
| on Dec 18, 2001 at 02:11 UTC ( [id://132771]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||