Ruby. On Aug 9, 2010, at 12:51 PM, Rick Root wrote:
> > Oh, I like! but.. heh, what language is that? =) > > Rick > > On Mon, Aug 9, 2010 at 1:36 PM, Zaphod Beeblebrox > <zaph0d.b33bl3b...@gmail.com> wrote: >> >> def lowercase(string) >> string.gsub(/([A-Z])/) {|c| (c[0]+32).chr} >> end >> >> regular expressions, closures....how much more convoluted can you get : > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:324582 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm