From: gabriele renzi Date: 2003-11-19T09:02:18+09:00 Subject: Re: String startswith/endswith in Ruby? il Tue, 18 Nov 2003 23:45:43 -0000, Dave Benjamin ha scritto:: >Hi all, > >I'm a Python user trying to learn a bit of Ruby. I was wondering if there's >a common way of writing "startswith" and "endswith" expressions for strings >in Ruby. http://extensions.rubyforge.org/rdoc/classes/String.html then click on starts_with and ends_with and you'll see the code. BTW had'nt matz accepted to add these methods to the standard String class?