Takaaki Tateishi <ttate / kt.jaist.ac.jp> 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