----- Original Message ----- From: "Tobias Reif" <tobiasreif / pinkjuice.com> To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Friday, July 05, 2002 2:24 PM Subject: Re: is there a better string.each? > > A String is a string. An Array is an array. Any coincidence that > > a String is an array of characters > > > it is by definition, not by coincidence, no? No, not by definition... a string is certainly not defined as an array (in the computer science sense) in Ruby. Strings and arrays just happen to share many properties in common. So do arrays and hashes (to a lesser extent). Hal Fulton