On Oct 17, 2006, at 7:29 PM, dblack / wobblini.net wrote: > What's the best way to get an array of lines or bytes from a string in > 1.9? (I think this might help me get more of a grasp of the cases > where an Enumerator is returned.) Well, using the Enumerators both of the following would work: str.lines.to_a str.each_line.to_a James Edward Gray II