At 06:38 07/11/07, Wolfgang N˘Ždasi-Donner wrote: >Is it possible that it has a relationship with my remark about identifying character beginning positions in strings in http://www.ruby-forum.com/topic/129798 ? > >If the beginning position of a character in a string will always be calculated when necessary, this will have effects on very long strings. The character counting problem you describe exists, but not for US-ASCII, so this can't be the reason. Regards, Martin. #-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University #-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst / it.aoyama.ac.jp