Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Tutorial suggestion: split and join

by Abigail-II (Bishop)
on Aug 29, 2003 at 08:52 UTC ( [id://287613]=note: print w/replies, xml ) Need Help??


in reply to Tutorial suggestion: split and join

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

  • Comment on Re: Tutorial suggestion: split and join

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://287613]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-29 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found