Perl Monk, Perl Meditation | |
PerlMonks |
Re: Tutorial suggestion: split and joinby Abigail-II (Bishop) |
on Aug 29, 2003 at 08:52 UTC ( [id://287613]=note: print w/replies, xml ) | Need Help?? |
The inverse of split is the join function No, it's not. If that would be true, I could use join to create the same string I split with split. But this is obviously not always possible. Think splitting on a regex that matches more than one string (for instance /\s+/), or the throwing away of trailing empty fields. I missed the explaination of the meaning of a negative third argument. Abigail
In Section
Meditations
|
|