Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Removing delimiters

by OM_Zen (Scribe)
on Feb 05, 2003 at 16:31 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://232844]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2025-06-24 03:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.