From: Chris Hickman Date: 2008-02-03T07:28:39+09:00 Subject: Re: Strings .each method > irb> (a.split(' ') << nil).each_cons(2) {|word,lookahead| puts "%-10s > %s"%[word.inspect,lookahead.inspect]} Awesome. I understand how to use it but what exactly does %-10s %s"% mean/do? Thanks a lot for the feedback, chris -- Posted via http://www.ruby-forum.com/.