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.
 
Back
Top