Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: string manupulation

by BronzeWing (Monk)
on Sep 05, 2002 at 19:01 UTC ( #195477=note: print w/replies, xml ) Need Help??


in reply to string manupulation

Just because using split() is way too easy of an answer:

@temp = $local =~ m/(?:^|:)([^:]*)/g;

BronzeWing

Replies are listed 'Best First'.
Re^2: string manupulation
by Aristotle (Chancellor) on Sep 06, 2002 at 05:03 UTC
    Regex Hacking, With A Smile. :^)

    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://195477]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2023-02-06 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (33 votes). Check out past polls.

    Notices?