From: Roger Pack Date: 2009-02-22T02:37:08+09:00 Subject: Re: ask ri for the other squeeze > but I prefer fastri over ri, because....it's *faster* =D > http://eigenclass.org/hiki/fastri Note also that you can lookup things in irb irb(main):002:0> help "String#chars" ----------------------------------------------------------- String#chars str.chars => anEnumerator str.chars {|substr| block } => str ------------------------------------------------------------------------ Returns an enumerator that gives each character in the string. If a block is given, it iterates over each character in the string. "foo".chars.to_a #=> ["f","o","o"] => nil irb(main):003:0> -- Posted via http://www.ruby-forum.com/.