Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is concatenating string in ruby. In how many ways you can create a concatenating string.



What is concatenating string in ruby. In how many ways you can create a concatenating string...

Answer / Avinash Verma

Concatenation in Ruby refers to combining multiple strings together. There are several ways to concatenate strings:n1. Using the '+' operator: 'str1' + 'str2'n2. Using << for append operation: 'str' << 'append_string'n3. Using the 'n' operator for multi-line strings: 'str1nstr2'

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What are ruby blocks.

1 Answers  


What are the different environment variables present in the ruby?

1 Answers  


What is the difference between “#==” and “#equal?”

1 Answers  


what is the difference extend and include?

1 Answers  


Who is the developer of Ruby?

1 Answers  


Please explain what is mvc and why do we use it?

1 Answers  


Explain about Float, Dig and Max?

1 Answers  


What is the use of global variable $ in Ruby?

1 Answers  


How does ruby deal with extremely large numbers?

1 Answers  


Explain about the defined operator?

1 Answers  


What is the scope of a local variable in ruby?

1 Answers  


What does ruby name refers to?

1 Answers  


Categories