Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Index of the last occurence of a character inside a string

by dHarry (Abbot)
on Aug 06, 2008 at 09:47 UTC ( [id://702585]=note: print w/replies, xml ) Need Help??


in reply to Index of the last occurence of a character inside a string

Have you thought about using rindex?

  • Comment on Re: Index of the last occurence of a character inside a string

Replies are listed 'Best First'.
Re^2: Index of the last occurence of a character inside a string
by Krambambuli (Curate) on Aug 06, 2008 at 10:00 UTC
    Slap on my head! :)

    No, I have completely forgotten about rindex (if I ever knew, that is - I don't think I've ever used it so far.)
    Thank you!

    Krambambuli

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found