The example is this
my_string = "Ruby in A Day" # Print first character in string puts my_string # Print fourth character in string puts my_string
then you run it the output is suppose to be
but it's 82 121. Has there been a update to Ruby that changes this or the book wrong on this example?
This post has been edited by xclite: 15 April 2014 - 05:07 AM
Reason for edit:: Adding code tags.