From: Martin DeMello Date: 2006-07-09T04:16:35+09:00 Subject: Re: String#starts_with? On 7/9/06, Marcin Miel�y�ski wrote:> Martin DeMello wrote:> > Has anyone run tests to see what the fastest way to do a> > String#starts_with?(otherstring) is? I'll need this in an inner loop,> > so it's worth squeezing out the few drops of extra speed.>> String#index should be the fastest thanks. any suggestions for #ends_with? martin