From: Leslie Viljoen Date: 2005-12-14T02:46:29+09:00 Subject: Re: ,elegant James Edward Gray II wrote: > On Dec 13, 2005, at 11:24 AM, Leslie Viljoen wrote: > >> Hiya! >> >> This function adds commas to a string after every three characters >> so a number would be easier to read. It's kinda ugly though, and I >> can't >> help thinking there'd be a elegant Why-esque one or two liner to do >> this kind of thing - anyone care to improve it? > > > Does this help? > > http://rubyurl.com/EOi > > James Edward Gray II > I knew it! This kind of thing makes me crazy! I used to think I was a good programmer!