Mega Code Archive

 
Categories / Ruby / String
 

Using the + symbol concatenates the two strings

puts "Success!" if "Test" + "String" == "TestString"