|
|
| more useful options | |
| PerlMonks |
Re: Re: split helpby matthewb (Curate) |
| on Sep 23, 2003 at 11:32 UTC ( [id://293534]=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.
Somewhat daft but I notice that no one has mentioned the third argument to split yet:
From perldoc -f split: If LIMIT is specified and positive, it represents the maximum number of fields the EXPR will be split into, though the actual number of fields returned depends on the number of times PATTERN matches within EXPR.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||