From: Martin DeMello Date: 2002-11-25T21:43:28+09:00 Subject: Re: ruby-dev summary 18811-18923 Takaaki Tateishi wrote: > [ruby-dev:18887] String#substr? > > Takaaki Tateishi proposed a method for checking if a sub-string is exactly > same as other sub-string without creating a new string object. The method > suppresses the excessive cost of creating new strings. > Matz approved the idea, however rejected its method name 'substr?'. What's the difference between this and String#include? ? martin