How will you concatenate two strings?

To concatenate two string variables, dot(.) operator is used by two ways. The first is the concatenation operator (‘.’), which yields the concatenation of its right and left arguments. The second is the concatenating assignment operator (‘.=’), which affixes the argument on the right side to the argument on the left side:



Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Harinder Singh

Harinder Singh

My name is Harinder Singh and I specialize in Software industry. I consider myself as a life learner. I love learning new concepts, embracing new ideas and reading and searching for innovation.