Hi, I didn't really know how to word the title, but I was just wondering if it was possible to write a function and make it accessible as if it was any other str function. It was a simple (but useful) few lines which returned a list of all the occurrences of a substring within a string. I'd have to call it by
findAll( string, substring ) , but I would like to be able to call it like the built-in find function, i.e.
string.findAll( substring ) . Is this possible? Thanks!