Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 exploiting the Monastery: (4)
As of 2024-07-15 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.