Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 scrutinizing the Monastery: (4)
As of 2024-04-24 05:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found