--- Comment #2 from Jonathan M Davis <> 2010-11-16 16:10:04 
PST ---
I'd argue it would be nice to have both a function that returns before and one
that returns both before and after, but you could also argue that it would be
simpler just to have the one which returned both. Still, ideally, I'd think
that you'd want both - especially when trying to use findBefore() (or whatever
you'd call it) in the middle of an expression.

Regardless, however, a function like bisect() (or whatever it would be called)
probably should be added. I tend to be forced to use indexOf() in that sort of
situation, which doesn't tend to work as well - except perhaps when dealing
with arrays.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to