From: Rich Kilmer Date: 2002-04-02T00:54:19+09:00 Subject: RE: String#begins?(s) > -----Original Message----- > From: dave@thomases.com [mailto:dave@thomases.com] On Behalf Of Dave > Thomas > Sent: Monday, April 01, 2002 10:41 AM > To: ruby-talk ML > Subject: Re: String#begins?(s) > > > > 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