Are Strings mutable in Ruby? According to the documentation doing
str = \"hello\" str = str + \" world\"
creates a new string object with
Yes, they are:
x = "hallo" x[1] = "e" p x # "hello"