34,333
edits
Changes
→C# String Replacement
== C# String Replacement ==
Parts of a string may be replaced using the ''Replace()'' method. This method takes the part of the string to be replaced and the string with which it is to be replaced as arguments and returns a new string reflecting the change. The '"'Replace()'' method will replace all instances of the string:
<pre>