Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Removing delimiters

by OM_Zen (Scribe)
on Feb 05, 2003 at 16:31 UTC ( #232844=note: print w/ replies, xml ) Need Help??


in reply to Removing delimiters

Hi ,

$a = "word1:word2"; ($firstword) = split(/::/,$a,2),shift;


Replies are listed 'Best First'.
Re^2: Removing delimiters
by Aristotle (Chancellor) on Feb 06, 2003 at 12:00 UTC
    What's the shift for?

    Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2016-06-26 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.