Replace string method

  • Thread starter Thread starter Neil Zanella
  • Start date Start date
N

Neil Zanella

Hello,

The MSDN documentation does not seem to mention whether the Replace string
method returns a new string or modifies the existing string in place and
then returns it. I would like to know which is correct.

Thank you,

Neil
 
The MSDN documentation does not seem to mention whether the Replace string
method returns a new string or modifies the existing string in place and
then returns it. I would like to know which is correct.

Returns a new string.
 

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