matz / zetabits.com (Yukihiro Matsumoto) writes: > Hi, > > In message "[ruby-talk:4809] Some questions" > on 00/09/07, Friedrich Dominicus <frido / q-software-solutions.com> writes: > > |- is there a reason why there isn't a each_index in String? > > Because String is not a indexed container. You can use > each_with_index instead. I'm nervous about jumping in here, Matz, but they do look like indexed containers from the outside. Is there any reason not to have #each_index as part of Enumerable? Regards Dave