Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: chop from front and back

by hdb (Prior)
on Jun 21, 2013 at 06:34 UTC ( #1040081=note: print w/ replies, xml ) Need Help??


in reply to chop from front and back

s/"//g will remove all " from your string, s/^"|"$//g; only the ones at the beginning and the end of the string.


Comment on Re: chop from front and back
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2015-07-30 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls