From: "Guy N. Hurst" Date: 2002-04-02T01:35:27+09:00 Subject: Re: String#begins?(s) Rich Kilmer wrote: > ... > > I'm not convinced we need the methods, but if we do, I think > > #starts_with and #ends_with are good candidates for names. > > > > > > Dave > > My only reason for having them is if folks that are new to Ruby don't > know RegExp syntax they may look to String for begin and end matching > methods. Back to the Basic days, they had Left$, Right$ and Mid$. Not > advocating the names, just the fact that folks have been using these > types of methods for a long time. > > -Rich Thanks Rich, I was just thinking about Left$ right before I read your email ;-) And I think 'left' and 'right' make more sense than 'head' and 'tail' here. Guy N. Hurst