At 03:27 2/18/2001 +0900, you wrote: >a = "FooBar" >b = a.split(//) >b[6,2] #=> [] >a[6,2] #=> nil > >anyone knows why this last one returns nil instead of "" (empty string) ? > > > >matju a[6] doesn't exist thus a[6,2] doesn't exist, thus Ruby says "Ain't no such thing"