Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Parse string for fields

by snax (Hermit)
on Oct 08, 2003 at 21:28 UTC ( [id://297743]=note: print w/replies, xml ) Need Help??


in reply to Parse string for fields

Do you really want to lose the bits at the end?

To smash the extra pluses, leaving all the other info intact, do this:

tr/+/+/s;
Otherwise it looks like shenme's got you covered below.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://297743]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-23 06:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found