From: Dave Thomas Date: 2000-06-21T13:02:52-05:00 Subject: [ruby-talk:03587] Re: A small quiz hal9000@hypermetrics.com writes: > In any case, if this behavior is retained, the documentation > at rubycentral should be changed, which says: > > "Returns nil if the initial offset falls outside the > string, the length is negative, of the beginning of the > range is greater than the end." Yup - we actually came across this while writing the unit tests to verify the statements in the book. We're waiting for a definitive statement before we make the change, but it's looking as if the current behavior will remain. Regards Dave