Ruby 1.9: What to Expect

OSCON 2008

string index


ruby 1.9

irb(main):001:0> “cat”[1]
=> “a”

ruby 1.8.6

irb(main):001:0> “cat”[1]
=> 97