Ruby - String Operations
What does the
<< operator do when used with strings in Ruby?<< operator do when used with strings in Ruby?<< operator<< operator appends the right string to the left string and changes the original string.+, which creates a new string, << modifies the original string in place.<< = modifies original string [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions