'abcdefabc' =~ 'abc' returns 0

How do I get it to return 6? ... finding the second abc?

Or return 9 in this case:

'abcdefabcabc' =~ 'abc'

Chris Morris
chris.morris / snelling.com