Opposite of split

  • Thread starter Thread starter Guest
  • Start date Start date
Hi,

What about +
string targer = "str1" + "ste2";

Remember that string is an inmutable class, meaning that you will get a new
instance, no the same with something appened, if you just want to append
several substrings it''s better tu use StringBuilder

cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top