I like general utility functions like this. I've written this one myself somewhere in the past. When we can tinker with the language this will definitely be in my lexicon. On Thu, Jul 4, 2013 at 10:08 AM, Peter M. Brigham <pmbrig at gmail.com> wrote: > > function offsets str,container,includeOverlaps >