System Namespace String Class
Replaces all occurrences of a specified Unicode character in the given String with another specified Unicode character.
[ VB ] <Serializable> Overloads Public Function Replace ( _ ByVal oldChar As Char, _ ByVal newChar As Char _ ) As String [ C# ] [ Serializable ] public string Replace ( char oldChar, char newChar ); [ C++ ] [ Serializable ] public: String* Replace ( __wchar_t oldChar, __wchar_t newChar ); [ JScript ] public Serializable function Replace ( oldChar : Char, newChar : Char ) : String;
A String equivalent to this instance but with all instances of oldChar replaced with newChar.
String Members String.Replace Overload List Char Concat Insert Join Remove Split Substring Trim
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph