Posted: 09/27/07 20:55:24
I'd originally expected slices to be used in places where offsets are needed. I suppose my worry is that if I add an offset param for find then I'd have to add one for basically every other routine in core.Array as well. Still, I suppose it's worth considering.
As an aside, this is also legal and looks a bit better:
pos = start + str[start..$].findIf((char c){ return c == 'x'});