in reply to Re: Take last instance of a string
in thread Take last instance of a string

I agree the requests are similar. I was just wondering if there is a function that takes the last instance of a string that is repeated multiple times. In the last example the words "statement of accounting policies" was only written once. In no way was I trying to waste anyone's time or get people to write code for me. Thank you for your time!

Replies are listed 'Best First'.
Re^3: Take last instance of a string
by perldigious (Priest) on Aug 30, 2016 at 19:37 UTC

    No worries, it looks like hippo gave you such a function with rindex.

    I love it when things get difficult; after all, difficult pays the mortgage. - Dr. Keith Whites
    I hate it when things get difficult, so I'll just sell my house and rent cheap instead. - perldigious