Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: how to chop last character from a string

by bioMan (Beadle)
on Jan 04, 2006 at 15:26 UTC ( [id://520937]=note: print w/replies, xml ) Need Help??


in reply to Re: how to chop last character from a string
in thread how to chop last character from a string

Rather than chopping twice a safer way would be to chomp first then chop.

But, I like the regex solutions better than chopping

Mike

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-03-28 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found