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