Ruby - String Operations
What will this Ruby code print?
str = "ruby" str[2..3] = "on" puts str
str = "ruby" str[2..3] = "on" puts str
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions