Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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?
Discipulus adds tozzetti alle mandorle to the platter on the sideboard.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2017-07-21 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (320 votes). Check out past polls.