Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Tutorial suggestion: split and join

by Abigail-II (Bishop)
on Aug 29, 2003 at 08:52 UTC ( #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
Node Status?
node history
Node Type: note [id://287613]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2015-07-06 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls