Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

String.Replace Method

Returns a new string in which all occurrences of a specified Unicode character or String in the current string are replaced with another specified Unicode character or String.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Replace(Char, Char) Returns a new string in which all occurrences of a specified Unicode character in the current string are replaced with another specified Unicode character.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Replace(String, String) Returns a new string in which all occurrences of a specified string in the current string are replaced with another specified string.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.