Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: Replace the nth occurence

by ColonelPanic (Friar)
on Nov 21, 2012 at 08:58 UTC ( #1004879=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Replace the nth occurence
in thread Replace the nth occurence

It doesn't even work on the example string for any count other than three--it was just a coincidence that it happened to be in the right position in that case.

When's the last time you used duct tape on a duct? --Larry Wall

Comment on Re^3: Replace the nth occurence

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2015-12-01 04:19 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (792 votes), past polls