Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Replace the last letter

by !1 (Hermit)
on Oct 07, 2004 at 17:10 UTC ( [id://397375]=note: print w/replies, xml ) Need Help??


in reply to Replace the last letter

substr($variable, rindex($variable,$tofind), length($tofind), $replace +ment) if rindex($variable,$tofind) > -1;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-26 03:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found