From: 7stud -- Date: 2008-05-21T03:07:22+09:00 Subject: Re: How is this split method working? Raj Singh wrote: > I had never seen text.split[0..length] before. What's happening here. I > always saw split being passed an argument but never an array. The code you originally posted: >result = text.split[0..length] is equivalent to: arr = text.split result = arr[0..length] -- Posted via http://www.ruby-forum.com/.