An alternative way for string concatenation.
str1 = "This is a new string"
str2 = ". This is a new sentence."
result = str1 << str2
puts result
Output:
This is a new string. This is a new sentence.
An alternative way for string concatenation.
str1 = "This is a new string"
str2 = ". This is a new sentence."
result = str1 << str2
puts result
Output:
This is a new string. This is a new sentence.
For further actions, you may consider blocking this person and/or reporting abuse
H A R S H H A A -
H A R S H H A A -
H A R S H H A A -
Abinash Sahoo -
Top comments (0)